diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2019-05-03 19:46:44 +0200 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2019-05-03 19:46:44 +0200 |
commit | cb10c42fcee02592ece1e55954352b4b470b836c (patch) | |
tree | b66671129ef1222073b3b8c31ba00b5ebf4ef295 /settings-dialogs | |
parent | cdc02f928244a7f9bf40c2301b0085f7a03dc911 (diff) | |
download | xfwm4-cb10c42fcee02592ece1e55954352b4b470b836c.tar.gz |
Fix compiler warnings
Tidy up the code.
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
Diffstat (limited to 'settings-dialogs')
-rw-r--r-- | settings-dialogs/xfwm4-settings.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/settings-dialogs/xfwm4-settings.c b/settings-dialogs/xfwm4-settings.c index ecdd3e810..5d8fbca45 100644 --- a/settings-dialogs/xfwm4-settings.c +++ b/settings-dialogs/xfwm4-settings.c @@ -145,7 +145,11 @@ static gboolean xfwm_settings_active_frame_draw (GtkWidget cairo_t *cr, XfwmSettings *settings); static gboolean xfwm_settings_signal_blocker (GtkWidget *widget); + +/* FIXME! */ +#if 0 static GdkPixbuf *xfwm_settings_create_icon_from_widget (GtkWidget *widget); +#endif static void xfwm_settings_save_button_layout (XfwmSettings *settings, GtkContainer *container); @@ -1205,11 +1209,11 @@ xfwm_settings_hidden_frame_drag_data (GtkWidget *widget, static gboolean xfwm_settings_title_button_press_event (GtkWidget *widget) { + /* FIXME! This crashes in cairo... xfce bug 14606 */ +#if 0 GdkPixbuf *pixbuf; g_return_val_if_fail (GTK_IS_WIDGET (widget), TRUE); - /* FIXME! This crashes in cairo... xfce bug 14606 */ -#if 0 /* set pixbuf before drag begin cause it can be not displayed */ pixbuf = xfwm_settings_create_icon_from_widget (widget); gtk_drag_source_set_icon_pixbuf (widget, pixbuf); @@ -1343,7 +1347,8 @@ xfwm_settings_signal_blocker (GtkWidget *widget) } - +/* FIXME! This crashes in cairo... xfce bug 14606 */ +#if 0 static GdkPixbuf * xfwm_settings_create_icon_from_widget (GtkWidget *widget) { @@ -1358,7 +1363,7 @@ xfwm_settings_create_icon_from_widget (GtkWidget *widget) allocation.x, allocation.y, allocation.width, allocation.height); } - +#endif static void |