summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-22 21:13:55 +0200
committerraveit65 <[email protected]>2016-06-24 20:48:20 +0200
commita894d977c6b1a7d18b72666c71f542e96c37106b (patch)
tree54822dcf7e3c87255e4936daf062c3da4b6edea7 /shell
parent38d2394892d7c1403b9c6a8932c8dea4a502f960 (diff)
downloadatril-a894d977c6b1a7d18b72666c71f542e96c37106b.tar.bz2
atril-a894d977c6b1a7d18b72666c71f542e96c37106b.tar.xz
GTK+-3 ev-password-view: Do not use deprecate composite-child API
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-password-view.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/ev-password-view.c b/shell/ev-password-view.c
index b279ab8b..5e5a5559 100644
--- a/shell/ev-password-view.c
+++ b/shell/ev-password-view.c
@@ -120,8 +120,10 @@ ev_password_view_init (EvPasswordView *password_view)
password_view->priv = EV_PASSWORD_VIEW_GET_PRIVATE (password_view);
password_view->priv->password_save = G_PASSWORD_SAVE_NEVER;
-
+
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_widget_push_composite_child ();
+#endif
/* set ourselves up */
align = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
@@ -158,7 +160,9 @@ ev_password_view_init (EvPasswordView *password_view)
gtk_box_pack_end (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show_all (align);
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_widget_pop_composite_child ();
+#endif
}
/* Public functions */