summaryrefslogtreecommitdiff
path: root/charpick
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-19 16:12:28 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-19 16:12:28 +0100
commit050f41189d3e6d45a209c685f20af0c189b986b6 (patch)
treee6f3fc9980501bbd0cdc19c7cddb0cf12c542f3b /charpick
parent208c2cd972c1fafd05b4813f438b745b5db00942 (diff)
downloadmate-applets-050f41189d3e6d45a209c685f20af0c189b986b6.tar.bz2
mate-applets-050f41189d3e6d45a209c685f20af0c189b986b6.tar.xz
Gtk3 charpick: fix a build wrning
added by https://github.com/mate-desktop/mate-applets/commit/cd971d3
Diffstat (limited to 'charpick')
-rw-r--r--charpick/charpick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/charpick/charpick.c b/charpick/charpick.c
index f7530392..9cffff2a 100644
--- a/charpick/charpick.c
+++ b/charpick/charpick.c
@@ -322,7 +322,7 @@ populate_menu (charpick_data *curr_data)
#if GTK_CHECK_VERSION (3, 0, 0)
/*Set up custom theme and transparency support*/
- GtkWidget *toplevel = gtk_widget_get_toplevel (menu);
+ GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (menu));
/* Fix any failures of compiz/other wm's to communicate with gtk for transparency */
GdkScreen *screen = gtk_widget_get_screen(GTK_WIDGET(toplevel));
GdkVisual *visual = gdk_screen_get_rgba_visual(screen);