summaryrefslogtreecommitdiff
path: root/gtk/gtkcombo.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-10-08 05:07:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-10-08 05:07:55 +0000
commit07e7719441f5927bc3c482717fc53f8529186e3a (patch)
tree4baea8ab1c47987dc80120c67cb16be141a16b8d /gtk/gtkcombo.c
parente4581869b4a93ab882439673159a8f77b2396e57 (diff)
downloadgdk-pixbuf-07e7719441f5927bc3c482717fc53f8529186e3a.tar.gz
Apply a cleanup patch by Kjartan Maraas (#341812)
2006-10-08 Matthias Clasen <mclasen@redhat.com> * Apply a cleanup patch by Kjartan Maraas (#341812)
Diffstat (limited to 'gtk/gtkcombo.c')
-rw-r--r--gtk/gtkcombo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c
index 6a78b7f87..5dd45e470 100644
--- a/gtk/gtkcombo.c
+++ b/gtk/gtkcombo.c
@@ -50,7 +50,7 @@
#include "gtkintl.h"
#include "gtkalias.h"
-const gchar gtk_combo_string_key[] = "gtk-combo-string-value";
+static const gchar gtk_combo_string_key[] = "gtk-combo-string-value";
#define COMBO_LIST_MAX_HEIGHT (400)
#define EMPTY_LIST_HEIGHT (15)
@@ -561,7 +561,7 @@ gtk_combo_popup_list (GtkCombo *combo)
{
gtk_window_group_add_window (gtk_window_get_group (GTK_WINDOW (toplevel)),
GTK_WINDOW (combo->popwin));
- gtk_window_set_transient_for (combo->popwin, GTK_WINDOW (toplevel));
+ gtk_window_set_transient_for (GTK_WINDOW (combo->popwin), GTK_WINDOW (toplevel));
}
gtk_widget_set_size_request (combo->popwin, width, height);