From e6a0f93c44c85c82e3b1d92931374d8c2fd32c6b Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Fri, 11 Nov 2011 15:41:31 +0300 Subject: [PATCH 1/2] Minor fixes so --enable-debug=full correctly compiles --- src/properties_dialog.c | 4 ++-- src/util.c | 5 +++-- src/xfce_wallpaper_manager.c | 9 ++++++--- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/properties_dialog.c b/src/properties_dialog.c index 9f88d8d..dbc92b0 100644 --- a/src/properties_dialog.c +++ b/src/properties_dialog.c @@ -59,7 +59,7 @@ properties_dialog_set_file ( static GtkWidgetClass *parent_class = NULL; -static enum +enum { EXIF_PROP_DATE_TIME = 0, EXIF_PROP_MODEL, @@ -125,7 +125,7 @@ static void rstto_properties_dialog_init (RsttoPropertiesDialog *dialog) { GtkWidget *vbox; - GtkWidget *notebook; + /*GtkWidget *notebook;*/ GtkWidget *table; /* General tab */ GtkWidget *general_label; diff --git a/src/util.c b/src/util.c index 1acfd27..53e42fe 100644 --- a/src/util.c +++ b/src/util.c @@ -18,11 +18,12 @@ #include #include - +#include #include +void rstto_launch_help (void); -gboolean +void rstto_launch_help (void) { gchar *locale = NULL; diff --git a/src/xfce_wallpaper_manager.c b/src/xfce_wallpaper_manager.c index 1f12d3a..9c66ce5 100644 --- a/src/xfce_wallpaper_manager.c +++ b/src/xfce_wallpaper_manager.c @@ -119,12 +119,15 @@ rstto_xfce_wallpaper_manager_configure_dialog_run ( RsttoWallpaperManager *self, RsttoFile *file) { + GdkPixbuf *monitor_pixbuf; + gdouble saturation; + gdouble brightness; RsttoXfceWallpaperManager *manager = RSTTO_XFCE_WALLPAPER_MANAGER (self); gint response = 0; manager->priv->file = file; - GdkPixbuf *monitor_pixbuf = NULL; - gdouble saturation = gtk_adjustment_get_value (GTK_ADJUSTMENT(manager->priv->saturation_adjustment)); - gdouble brightness = gtk_adjustment_get_value (GTK_ADJUSTMENT(manager->priv->brightness_adjustment)); + monitor_pixbuf = NULL; + saturation = gtk_adjustment_get_value (GTK_ADJUSTMENT(manager->priv->saturation_adjustment)); + brightness = gtk_adjustment_get_value (GTK_ADJUSTMENT(manager->priv->brightness_adjustment)); if (manager->priv->pixbuf) { -- 1.7.5.4