diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-12-10 20:27:00 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-10 20:27:00 +0100 |
commit | ecc616fc774a3bf576283cd291fc6cc5d7400a77 (patch) | |
tree | e5fa65b9abb68ac31b8e7a9f2f26b96671e8283d /src/gs-lock-plug.c | |
parent | 8b30ebf59492dca891a847b1ba4cf23edb693266 (diff) | |
download | mate-screensaver-ecc616fc774a3bf576283cd291fc6cc5d7400a77.tar.bz2 mate-screensaver-ecc616fc774a3bf576283cd291fc6cc5d7400a77.tar.xz |
GTK3: don't use deprecated gtk_{v/h}box_new
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r-- | src/gs-lock-plug.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c index 37ab29b..e31163c 100644 --- a/src/gs-lock-plug.c +++ b/src/gs-lock-plug.c @@ -82,6 +82,11 @@ static void gs_lock_plug_finalize (GObject *object); #define GS_LOCK_PLUG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GS_TYPE_LOCK_PLUG, GSLockPlugPrivate)) +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y) +#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) +#endif + struct GSLockPlugPrivate { GtkWidget *vbox; |