[Xfce4-commits] [apps/ristretto] 02/03: Replaced "GTK_WIDGET(window)->window" with more future compatible "gtk_widget_get_window(GTK_WIDGET(window))".

noreply at xfce.org noreply at xfce.org
Sun Jul 3 14:01:21 CEST 2016


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

eric pushed a commit to branch master
in repository apps/ristretto.

commit e35e0eb109aff2b5a536a01f9a1310316339ae3e
Author: Cricketer <cricketer at users.noreply.github.com>
Date:   Sun Jul 3 14:17:56 2016 +0700

    Replaced "GTK_WIDGET(window)->window" with more future compatible "gtk_widget_get_window(GTK_WIDGET(window))".
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 src/main_window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main_window.c b/src/main_window.c
index 9370996..ef91281 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -4131,7 +4131,7 @@ key_press_event (
                     cb_rstto_main_window_pause( GTK_WIDGET(window), rstto_window );
                 }
                 else {
-                    if ( !(gdk_window_get_state( GTK_WIDGET(window)->window ) & GDK_WINDOW_STATE_FULLSCREEN) )
+                    if ( !(gdk_window_get_state( gtk_widget_get_window(GTK_WIDGET(window)) ) & GDK_WINDOW_STATE_FULLSCREEN) )
                     {
                         gtk_widget_destroy( GTK_WIDGET(window) );
                     }

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


More information about the Xfce4-commits mailing list