[project @ 2005-07-03 15:41:07 by bursa]

Implement gui_window_get_height() for the GTK build.

svn path=/import/netsurf/; revision=1782
This commit is contained in:
James Bursa 2005-07-03 15:41:07 +00:00
parent 78102aa4e1
commit eb6a570aa6

View File

@ -305,6 +305,12 @@ int gui_window_get_width(struct gui_window* g)
}
int gui_window_get_height(struct gui_window* g)
{
return g->drawing_area->allocation.height;
}
void gui_window_set_extent(struct gui_window *g, int width, int height)
{
gtk_widget_set_size_request(g->drawing_area, width, height);