summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontextsimple.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-01-09 17:02:50 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-01-09 17:02:50 +0000
commit9c7a2c321fd5c7cea0564442cbc96812b47dd759 (patch)
tree0e88b9dcd2188d0c6a7516f80112c6ccbe5107cc /gtk/gtkimcontextsimple.c
parent781d94f1414abb4bfe2297a84f1da009168b6057 (diff)
downloadgdk-pixbuf-9c7a2c321fd5c7cea0564442cbc96812b47dd759.tar.gz
remove unused variable.
2008-01-09 Michael Natterer <mitch@imendio.com> * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused variable. * gtk/gtkcombobox.c (gtk_combo_box_detacher) * gtk/gtkicontheme.c (theme_list_contexts) (gtk_icon_theme_lookup_icon) * gtk/gtkimcontextsimple.c (beep_window) * gtk/gtklinkbutton.c (set_link_color) * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to fix warnings. * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused variable and add const to another to fix a warning. svn path=/trunk/; revision=19330
Diffstat (limited to 'gtk/gtkimcontextsimple.c')
-rw-r--r--gtk/gtkimcontextsimple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index f13bbc455..7218b2e8f 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -1186,7 +1186,7 @@ beep_window (GdkWindow *window)
{
GtkWidget *widget;
- gdk_window_get_user_data (window, &widget);
+ gdk_window_get_user_data (window, (gpointer) &widget);
if (GTK_IS_WIDGET (widget))
{