parent
fb6ee17830
commit
73e8be63ae
@ -0,0 +1,39 @@
|
||||
diff -up libquicktime-1.1.5/utils/gtk/libquicktime_config.c.gtk libquicktime-1.1.5/utils/gtk/libquicktime_config.c
|
||||
--- libquicktime-1.1.5/utils/gtk/libquicktime_config.c.gtk 2010-07-08 12:21:24.000000000 +0200
|
||||
+++ libquicktime-1.1.5/utils/gtk/libquicktime_config.c 2010-07-08 12:22:45.000000000 +0200
|
||||
@@ -112,8 +112,8 @@ static MainWindow * create_main_window()
|
||||
G_CALLBACK(main_window_button_callback),
|
||||
(gpointer)ret);
|
||||
|
||||
- GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
|
||||
- GTK_WIDGET_SET_FLAGS (ret->save_button, GTK_CAN_DEFAULT);
|
||||
+ gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
|
||||
+ gtk_widget_set_can_default(GTK_WIDGET(ret->save_button), TRUE);
|
||||
|
||||
gtk_widget_show(ret->close_button);
|
||||
gtk_widget_show(ret->save_button);
|
||||
diff -up libquicktime-1.1.5/utils/gtk/lqt_gtk.c.gtk libquicktime-1.1.5/utils/gtk/lqt_gtk.c
|
||||
--- libquicktime-1.1.5/utils/gtk/lqt_gtk.c.gtk 2010-07-08 12:27:26.000000000 +0200
|
||||
+++ libquicktime-1.1.5/utils/gtk/lqt_gtk.c 2010-07-08 12:27:04.000000000 +0200
|
||||
@@ -941,9 +941,9 @@ lqtgtk_create_codec_config_window(lqt_co
|
||||
G_CALLBACK(codec_config_window_button_callback),
|
||||
(gpointer)ret);
|
||||
|
||||
- GTK_WIDGET_SET_FLAGS (ret->apply_button, GTK_CAN_DEFAULT);
|
||||
- GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
|
||||
- GTK_WIDGET_SET_FLAGS (ret->restore_button, GTK_CAN_DEFAULT);
|
||||
+ gtk_widget_set_can_default(GTK_WIDGET(ret->apply_button), TRUE);
|
||||
+ gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
|
||||
+ gtk_widget_set_can_default(GTK_WIDGET(ret->restore_button), TRUE);
|
||||
|
||||
gtk_widget_show(ret->apply_button);
|
||||
gtk_widget_show(ret->close_button);
|
||||
@@ -1240,7 +1240,7 @@ lqtgtk_create_codec_info_window(const lq
|
||||
ret->mainbox = gtk_vbox_new(0, 10);
|
||||
|
||||
ret->close_button = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
|
||||
- GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
|
||||
+ gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
|
||||
|
||||
g_signal_connect(G_OBJECT(ret->close_button), "clicked",
|
||||
G_CALLBACK(codec_info_window_button_callback),
|
Loading…
Reference in new issue