[Xfce4-commits] [xfce/xfce4-settings] 01/01: Use check-resize signal instead of size-allocate to fix embedded dialogs and scrolling

noreply at xfce.org noreply at xfce.org
Sun Jun 30 12:44:22 CEST 2019


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

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-settings.

commit 4b3a588cfc501ed662d67a260c8953ceaeca813b
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Jun 30 06:44:14 2019 -0400

    Use check-resize signal instead of size-allocate to fix embedded dialogs and scrolling
---
 xfce4-settings-manager/xfce-settings-manager-dialog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c
index ed1eddf..3dd2cf3 100644
--- a/xfce4-settings-manager/xfce-settings-manager-dialog.c
+++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c
@@ -207,7 +207,7 @@ xfce_settings_manager_queue_redraw (XfceSettingsManagerDialog *dialog)
 
 
 static void
-xfce_settings_manager_dialog_size_allocate (GtkWidget *widget, GdkRectangle *allocation, gpointer *user_data)
+xfce_settings_manager_dialog_check_resize (GtkWidget *widget, gpointer *user_data)
 {
     XfceSettingsManagerDialog *dialog = XFCE_SETTINGS_MANAGER_DIALOG (user_data);
     xfce_settings_manager_queue_resize (dialog);
@@ -345,7 +345,7 @@ xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog)
     g_signal_connect_swapped (G_OBJECT (dialog->menu), "reload-required",
         G_CALLBACK (xfce_settings_manager_dialog_menu_reload), dialog);
 
-    g_signal_connect (G_OBJECT (dialog), "size-allocate", G_CALLBACK (xfce_settings_manager_dialog_size_allocate), dialog);
+    g_signal_connect (G_OBJECT (dialog), "check-resize", G_CALLBACK (xfce_settings_manager_dialog_check_resize), dialog);
 }
 
 

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


More information about the Xfce4-commits mailing list