wok-current diff libquicktime/stuff/gtk22.patch @ rev 25204

updated python-mock (1.0.1 -> 3.0.5)
author Hans-G?nter Theisgen
date Wed Jul 13 14:28:15 2022 +0100 (2022-07-13)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libquicktime/stuff/gtk22.patch	Wed Jul 13 14:28:15 2022 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +diff -Nur libquicktime-1.1.5.orig/utils/gtk/libquicktime_config.c libquicktime-1.1.5/utils/gtk/libquicktime_config.c
     1.5 +--- libquicktime-1.1.5.orig/utils/gtk/libquicktime_config.c	2008-12-30 08:05:36.000000000 -0800
     1.6 ++++ libquicktime-1.1.5/utils/gtk/libquicktime_config.c	2010-10-15 05:46:21.956697112 -0700
     1.7 +@@ -112,9 +112,9 @@
     1.8 +                    G_CALLBACK(main_window_button_callback),
     1.9 +                    (gpointer)ret);
    1.10 + 
    1.11 +-  GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
    1.12 +-  GTK_WIDGET_SET_FLAGS (ret->save_button, GTK_CAN_DEFAULT);
    1.13 +-  
    1.14 ++  gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
    1.15 ++  gtk_widget_set_can_default(GTK_WIDGET(ret->save_button), TRUE);
    1.16 ++
    1.17 +   gtk_widget_show(ret->close_button);
    1.18 +   gtk_widget_show(ret->save_button);
    1.19 + 
    1.20 +diff -Nur libquicktime-1.1.5.orig/utils/gtk/lqt_gtk.c libquicktime-1.1.5/utils/gtk/lqt_gtk.c
    1.21 +--- libquicktime-1.1.5.orig/utils/gtk/lqt_gtk.c	2009-03-11 07:25:50.000000000 -0700
    1.22 ++++ libquicktime-1.1.5/utils/gtk/lqt_gtk.c	2010-10-15 05:47:14.720013265 -0700
    1.23 +@@ -941,9 +941,9 @@
    1.24 + 		   G_CALLBACK(codec_config_window_button_callback),
    1.25 + 		   (gpointer)ret);
    1.26 + 
    1.27 +-  GTK_WIDGET_SET_FLAGS (ret->apply_button, GTK_CAN_DEFAULT);
    1.28 +-  GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
    1.29 +-  GTK_WIDGET_SET_FLAGS (ret->restore_button, GTK_CAN_DEFAULT);
    1.30 ++  gtk_widget_set_can_default(GTK_WIDGET(ret->apply_button), TRUE);
    1.31 ++  gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
    1.32 ++  gtk_widget_set_can_default(GTK_WIDGET(ret->restore_button), TRUE);
    1.33 + 
    1.34 +   gtk_widget_show(ret->apply_button);
    1.35 +   gtk_widget_show(ret->close_button);
    1.36 +@@ -1240,7 +1240,7 @@
    1.37 +   ret->mainbox = gtk_vbox_new(0, 10);
    1.38 + 
    1.39 +   ret->close_button = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
    1.40 +-  GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
    1.41 ++  gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
    1.42 + 
    1.43 +   g_signal_connect(G_OBJECT(ret->close_button), "clicked",
    1.44 +                      G_CALLBACK(codec_info_window_button_callback),