mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-01 23:25:34 +03:00
[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:
parent
78102aa4e1
commit
eb6a570aa6
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user