diff --git a/src/gtk/gtkvideo.cpp b/src/gtk/gtkvideo.cpp index 9dd326ae..9b97b66f 100644 --- a/src/gtk/gtkvideo.cpp +++ b/src/gtk/gtkvideo.cpp @@ -120,16 +120,6 @@ void *GtkVideo::GetWidget() return data->widget; } -int GtkVideo::GetWidth() const -{ - return data->widget->allocation.width; -} - -int GtkVideo::GetHeight() const -{ - return data->widget->allocation.height; -} - void GtkVideo::PreRender() { /// XXX: is this right? diff --git a/src/gtk/gtkvideo.h b/src/gtk/gtkvideo.h index 876d3a0b..a96c223b 100644 --- a/src/gtk/gtkvideo.h +++ b/src/gtk/gtkvideo.h @@ -19,8 +19,6 @@ public: GtkVideo(char const *title, int width, int height); // Inherited - int GetWidth() const; - int GetHeight() const; void PreRender(); void PostRender(float milliseconds); diff --git a/src/sdlvideo.cpp b/src/sdlvideo.cpp index 4c478c8f..f063a958 100644 --- a/src/sdlvideo.cpp +++ b/src/sdlvideo.cpp @@ -60,16 +60,6 @@ SdlVideo::SdlVideo(char const *title, int width, int height) data->frames = 0; } -int SdlVideo::GetWidth() const -{ - return data->video->w; -} - -int SdlVideo::GetHeight() const -{ - return data->video->h; -} - void SdlVideo::PreRender() { Video::Clear(); diff --git a/src/sdlvideo.h b/src/sdlvideo.h index aa01b133..1eb8b371 100644 --- a/src/sdlvideo.h +++ b/src/sdlvideo.h @@ -19,8 +19,6 @@ public: SdlVideo(char const *title, int width, int height); ~SdlVideo(); - int GetWidth() const; - int GetHeight() const; void PreRender(); void PostRender(float milliseconds); void FullScreen();