summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2007-07-31 14:41:18 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2007-07-31 14:41:18 +0000
commit5c035ab827934f0ce5a4ea47727cd0435808d90c (patch)
tree3e83d3f387f736a041ce57f94d9cccd10a075b68 /plugins
parent2d57d53ffcff70bb136f3595583f9df3b1a533ff (diff)
downloadglade-5c035ab827934f0ce5a4ea47727cd0435808d90c.tar.gz
Fixed compilation with gcc 2.95 (Bug 461923, fix by Jens Granseuer)
* plugins/gtk+/glade-gtk.c: Fixed compilation with gcc 2.95 (Bug 461923, fix by Jens Granseuer) * gladeui/glade-builtins.c: Sort the stock icon list alphabetically by locale (bug 454003, fix by Olivier Delhomme) svn path=/trunk/; revision=1524
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtk+/glade-gtk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index 92909de2..d33725ba 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -2687,7 +2687,8 @@ glade_gtk_notebook_set_n_pages (GObject *object, const GValue *value)
for (i = gtk_notebook_get_n_pages (notebook); i < new_size; i++)
{
gint position = glade_gtk_notebook_get_first_blank_page (notebook);
- GtkWidget *placeholder = glade_placeholder_new ();
+ GtkWidget *placeholder = glade_placeholder_new ();
+ gchar *str;
GladeWidget *glabel =
glade_widget_adaptor_create_widget
@@ -2695,7 +2696,7 @@ glade_gtk_notebook_set_n_pages (GObject *object, const GValue *value)
"parent", widget,
"project", glade_widget_get_project (widget),
NULL);
- gchar *str = g_strdup_printf ("page %d", i + 1);
+ str = g_strdup_printf ("page %d", i + 1);
glade_widget_property_set (glabel, "label", str);
g_free (str);