summaryrefslogtreecommitdiff
path: root/mate-panel/nothing.cP
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-23 11:23:52 +0100
committerinfirit <[email protected]>2014-11-23 11:38:10 +0100
commitdba401f22f4aa533d74bb5429e807fbc3c42ec00 (patch)
tree908bcd70dee3dcca1086f8138333a01a5c8dee1b /mate-panel/nothing.cP
parent53362cb07c5e9d68cc9ff52c9a9eaf0da3ef585e (diff)
downloadmate-panel-dba401f22f4aa533d74bb5429e807fbc3c42ec00.tar.bz2
mate-panel-dba401f22f4aa533d74bb5429e807fbc3c42ec00.tar.xz
Gtk3: Silence GtkBox deprecation warnings
Diffstat (limited to 'mate-panel/nothing.cP')
-rw-r--r--mate-panel/nothing.cP3
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-panel/nothing.cP b/mate-panel/nothing.cP
index cfb935c5..13d45cc3 100644
--- a/mate-panel/nothing.cP
+++ b/mate-panel/nothing.cP
@@ -8,6 +8,7 @@
#include <gdk/gdkkeysyms.h>
#if GTK_CHECK_VERSION (3, 0, 0)
#include <gdk/gdkkeysyms-compat.h>
+#define gtk_vbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_VERTICAL, Y)
#endif
#include <canberra-gtk.h>
@@ -1571,4 +1572,4 @@ panel_dialog_window_event (GtkWidget *window,
return FALSE;
}
-#endif \ No newline at end of file
+#endif