From cb10c42fcee02592ece1e55954352b4b470b836c Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Fri, 3 May 2019 19:46:44 +0200 Subject: Fix compiler warnings Tidy up the code. Signed-off-by: Olivier Fourdan --- settings-dialogs/xfwm4-settings.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'settings-dialogs') 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 -- cgit v1.2.1