[libgnomeui] Fix compiler warnings
- From: Kjartan Maraas <kmaraas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomeui] Fix compiler warnings
- Date: Mon, 7 Feb 2011 18:20:47 +0000 (UTC)
commit ae69c26dbed2b6541452ddc99f1665ccfbf9bee3
Author: Kjartan Maraas <kmaraas gnome org>
Date: Mon Feb 7 19:20:38 2011 +0100
Fix compiler warnings
libgnomeui/gnome-app-helper.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libgnomeui/gnome-app-helper.c b/libgnomeui/gnome-app-helper.c
index 6943b64..5fa56bb 100644
--- a/libgnomeui/gnome-app-helper.c
+++ b/libgnomeui/gnome-app-helper.c
@@ -2444,7 +2444,6 @@ per_app_toolbar_style_changed_notify(GConfClient *client,
GtkToolbarStyle style = GTK_TOOLBAR_BOTH;
GtkWidget *w = user_data;
GtkToolbar *toolbar = GTK_TOOLBAR(w);
- gboolean got_it = FALSE;
GConfValue *value = gconf_entry_get_value (entry);
if (value &&
@@ -2454,7 +2453,6 @@ per_app_toolbar_style_changed_notify(GConfClient *client,
if (gconf_string_to_enum(toolbar_styles,
gconf_value_get_string(value),
(gint*)&style)) {
- got_it = TRUE;
gtk_toolbar_set_style(toolbar, style);
}
}
@@ -2701,7 +2699,6 @@ gnome_app_setup_toolbar (GtkToolbar *toolbar,
guint notify_id;
gchar *str;
gchar *per_app_key;
- gboolean got_it = FALSE;
/* Try per-app key */
per_app_key = gnome_gconf_get_gnome_libs_settings_relative("toolbar_style");
@@ -2714,7 +2711,6 @@ gnome_app_setup_toolbar (GtkToolbar *toolbar,
gconf_string_to_enum(toolbar_styles,
str,
(gint*)&toolbar_style)) {
- got_it = TRUE;
gtk_toolbar_set_style (toolbar, toolbar_style);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]