diff options
Diffstat (limited to 'src/themes/slider/theme.c')
-rw-r--r-- | src/themes/slider/theme.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c index 16012a4..eb54509 100644 --- a/src/themes/slider/theme.c +++ b/src/themes/slider/theme.c @@ -807,7 +807,11 @@ void set_notification_text(GtkWindow* nw, const char* summary, const char* body) update_content_hbox_visibility(windata); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_widget_get_preferred_size (windata->close_button, NULL, &req); +#else gtk_widget_size_request(windata->close_button, &req); +#endif /* -1: main_vbox border width -10: vbox border width -6: spacing for hbox */ |