wok view libquicktime/stuff/gtk22.patch @ rev 22767
updated foomatic-filters (4.0.5 -> 4.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 25 14:46:57 2020 +0100 (2020-01-25) |
parents | |
children |
line source
1 diff -Nur libquicktime-1.1.5.orig/utils/gtk/libquicktime_config.c libquicktime-1.1.5/utils/gtk/libquicktime_config.c
2 --- libquicktime-1.1.5.orig/utils/gtk/libquicktime_config.c 2008-12-30 08:05:36.000000000 -0800
3 +++ libquicktime-1.1.5/utils/gtk/libquicktime_config.c 2010-10-15 05:46:21.956697112 -0700
4 @@ -112,9 +112,9 @@
5 G_CALLBACK(main_window_button_callback),
6 (gpointer)ret);
8 - GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
9 - GTK_WIDGET_SET_FLAGS (ret->save_button, GTK_CAN_DEFAULT);
10 -
11 + gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
12 + gtk_widget_set_can_default(GTK_WIDGET(ret->save_button), TRUE);
13 +
14 gtk_widget_show(ret->close_button);
15 gtk_widget_show(ret->save_button);
17 diff -Nur libquicktime-1.1.5.orig/utils/gtk/lqt_gtk.c libquicktime-1.1.5/utils/gtk/lqt_gtk.c
18 --- libquicktime-1.1.5.orig/utils/gtk/lqt_gtk.c 2009-03-11 07:25:50.000000000 -0700
19 +++ libquicktime-1.1.5/utils/gtk/lqt_gtk.c 2010-10-15 05:47:14.720013265 -0700
20 @@ -941,9 +941,9 @@
21 G_CALLBACK(codec_config_window_button_callback),
22 (gpointer)ret);
24 - GTK_WIDGET_SET_FLAGS (ret->apply_button, GTK_CAN_DEFAULT);
25 - GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
26 - GTK_WIDGET_SET_FLAGS (ret->restore_button, GTK_CAN_DEFAULT);
27 + gtk_widget_set_can_default(GTK_WIDGET(ret->apply_button), TRUE);
28 + gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
29 + gtk_widget_set_can_default(GTK_WIDGET(ret->restore_button), TRUE);
31 gtk_widget_show(ret->apply_button);
32 gtk_widget_show(ret->close_button);
33 @@ -1240,7 +1240,7 @@
34 ret->mainbox = gtk_vbox_new(0, 10);
36 ret->close_button = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
37 - GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
38 + gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
40 g_signal_connect(G_OBJECT(ret->close_button), "clicked",
41 G_CALLBACK(codec_info_window_button_callback),