diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-06-03 00:58:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-06-03 00:58:36 +0000 |
commit | 32d1c74522ad01f39147ea7aa93ef3b56703de73 (patch) | |
tree | a23a9efbc9f2c511ce5f885dadbce7e3c3bcff57 | |
parent | f8e072f8275fd2de4f980d92dbebce69b9f55dd6 (diff) | |
download | wireshark-32d1c74522ad01f39147ea7aa93ef3b56703de73.tar.gz |
Throw in a cast to work around the lack of a "const" in the signature
for gdk_pixmap_create_from_xpm_d().
svn path=/trunk/; revision=18330
-rw-r--r-- | gtk/gui_utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gui_utils.c b/gtk/gui_utils.c index 8f31056ace..23f3239eb1 100644 --- a/gtk/gui_utils.c +++ b/gtk/gui_utils.c @@ -117,7 +117,8 @@ window_icon_realize_cb (GtkWidget *win, gpointer data _U_) if (icon_pmap == NULL) { icon_pmap = gdk_pixmap_create_from_xpm_d (win->window, - &icon_mask, &style->bg[GTK_STATE_NORMAL], wsicon16_xpm); + &icon_mask, &style->bg[GTK_STATE_NORMAL], + (gchar **) wsicon16_xpm); } gdk_window_set_icon (win->window, NULL, icon_pmap, icon_mask); |