From a894d977c6b1a7d18b72666c71f542e96c37106b Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 22 Jun 2016 21:13:55 +0200 Subject: GTK+-3 ev-password-view: Do not use deprecate composite-child API --- shell/ev-password-view.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'shell') 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 */ -- cgit v1.2.1