[Xfce4-commits] [apps/xfce4-terminal] 01/01: Refine previous commit

noreply at xfce.org noreply at xfce.org
Wed Sep 14 11:31:30 CEST 2016


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit e93f01f5ac13202ef8184706d68caff5fe242df2
Author: Igor <f2404 at yandex.ru>
Date:   Wed Sep 14 12:31:25 2016 +0300

    Refine previous commit
---
 terminal/terminal-preferences-dialog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/terminal/terminal-preferences-dialog.c b/terminal/terminal-preferences-dialog.c
index b6248d8..175924a 100644
--- a/terminal/terminal-preferences-dialog.c
+++ b/terminal/terminal-preferences-dialog.c
@@ -828,7 +828,7 @@ terminal_preferences_dialog_background_mode (GtkWidget                 *combobox
   terminal_return_if_fail (GTK_IS_COMBO_BOX (combobox));
 
   active = gtk_combo_box_get_active (GTK_COMBO_BOX (combobox));
-  composited = gdk_screen_is_composited (gtk_widget_get_screen (combobox));
+  composited = gtk_widget_is_composited (combobox);
 
   object = gtk_builder_get_object (GTK_BUILDER (dialog), "box-file");
   terminal_return_if_fail (G_IS_OBJECT (object));
@@ -963,7 +963,7 @@ terminal_preferences_dialog_new (gboolean show_drop_down)
           gtk_notebook_page_num (GTK_NOTEBOOK (notebook), GTK_WIDGET (object)));
 
       /* show warning and disable control if WM does not support compositing */
-      composited = gdk_screen_is_composited (gtk_widget_get_screen (GTK_WIDGET (object)));
+      composited = gtk_widget_is_composited (GTK_WIDGET (object));
       if (!composited)
         {
           object = gtk_builder_get_object (builder, "dropdown-opacity-not-available");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list