diff options
Diffstat (limited to 'src/themes/nodoka/nodoka-theme.c')
-rw-r--r-- | src/themes/nodoka/nodoka-theme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index d194d7f..79af140 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -137,8 +137,8 @@ get_size_of_widgets_monitor(GtkWidget *widget, int *width, int *height) { GdkWindow *window = gtk_widget_get_window (widget); GdkMonitor *monitor = gdk_display_get_monitor_at_window ( - gdk_window_get_display (window), - window); + gdk_window_get_display (window), + window); GdkRectangle workarea; gdk_monitor_get_workarea (monitor, &workarea); if (width) *width = workarea.width; |