Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
libgtkdatabox
libgtkdatabox-0.9.1.3-gtk-2.22.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgtkdatabox-0.9.1.3-gtk-2.22.patch of Package libgtkdatabox
Index: examples/addremove.c =================================================================== --- examples/addremove.c.orig +++ examples/addremove.c @@ -203,7 +203,7 @@ create_addremove (void) g_signal_connect_swapped (GTK_OBJECT (close_button), "clicked", G_CALLBACK (gtk_main_quit), GTK_OBJECT (box)); gtk_box_pack_start (GTK_BOX (box2), close_button, TRUE, TRUE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); gtk_widget_show_all (window); Index: examples/basics2.c =================================================================== --- examples/basics2.c.orig +++ examples/basics2.c @@ -225,7 +225,7 @@ create_basics (void) g_signal_connect_swapped (GTK_OBJECT (close_button), "clicked", G_CALLBACK (gtk_main_quit), GTK_OBJECT (box)); gtk_box_pack_start (GTK_BOX (vbox), close_button, FALSE, FALSE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); gtk_widget_grab_focus (close_button); Index: examples/basics.c =================================================================== --- examples/basics.c.orig +++ examples/basics.c @@ -113,7 +113,7 @@ create_basics (void) g_signal_connect_swapped (GTK_OBJECT (close_button), "clicked", G_CALLBACK (gtk_main_quit), GTK_OBJECT (box)); gtk_box_pack_start (GTK_BOX (vbox), close_button, FALSE, FALSE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); gtk_widget_grab_focus (close_button); Index: examples/colors.c =================================================================== --- examples/colors.c.orig +++ examples/colors.c @@ -194,7 +194,7 @@ create_colors (void) g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (gtk_main_quit), (gpointer) NULL); gtk_box_pack_start (GTK_BOX (box2), close_button, TRUE, TRUE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); Index: examples/enable_disable.c =================================================================== --- examples/enable_disable.c.orig +++ examples/enable_disable.c @@ -145,7 +145,7 @@ create_show_hide (void) g_signal_connect_swapped (GTK_OBJECT (close_button), "clicked", G_CALLBACK (gtk_main_quit), GTK_OBJECT (box)); gtk_box_pack_start (GTK_BOX (box2), close_button, TRUE, TRUE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); for (i = 0; i < noEnableSets; ++i) { GtkWidget *vbox = gtk_vbox_new (FALSE, 10); Index: examples/grid_array.c =================================================================== --- examples/grid_array.c.orig +++ examples/grid_array.c @@ -134,7 +134,7 @@ create_grid (void) G_CALLBACK (gtk_main_quit), GTK_OBJECT (box)); gtk_box_pack_start (GTK_BOX (box2), close_button, TRUE, TRUE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); gtk_widget_show_all (window); Index: examples/grid.c =================================================================== --- examples/grid.c.orig +++ examples/grid.c @@ -133,7 +133,7 @@ create_grid (void) G_CALLBACK (gtk_main_quit), GTK_OBJECT (box)); gtk_box_pack_start (GTK_BOX (box2), close_button, TRUE, TRUE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); gtk_widget_show_all (window); Index: examples/keycontrol.c =================================================================== --- examples/keycontrol.c.orig +++ examples/keycontrol.c @@ -133,7 +133,8 @@ create_basics (void) gtk_databox_create_box_with_scrollbars_and_rulers (&box, &table, TRUE, TRUE, TRUE, TRUE); gtk_widget_add_events (box, GDK_KEY_PRESS_MASK); - GTK_WIDGET_SET_FLAGS (box, GTK_CAN_FOCUS | GTK_CAN_DEFAULT); + gtk_widget_set_can_default(box, TRUE); + gtk_widget_set_can_focus(box, TRUE); gtk_box_pack_start (GTK_BOX (box1), table, TRUE, TRUE, 0); Index: examples/lissajous.c =================================================================== --- examples/lissajous.c.orig +++ examples/lissajous.c @@ -154,7 +154,7 @@ create_lissajous (void) G_CALLBACK (gtk_main_quit), G_OBJECT (box)); gtk_box_pack_start (GTK_BOX (box2), close_button, TRUE, TRUE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); lissajous_idle = g_idle_add ((GSourceFunc) lissajous_idle_func, box); Index: examples/logarithmic.c =================================================================== --- examples/logarithmic.c.orig +++ examples/logarithmic.c @@ -207,7 +207,7 @@ create_logarithmic (void) g_signal_connect (GTK_OBJECT (close_button), "clicked", G_CALLBACK (gtk_main_quit), NULL); gtk_box_pack_start (GTK_BOX (vbox), close_button, FALSE, FALSE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); gtk_widget_grab_focus (close_button); Index: examples/markers.c =================================================================== --- examples/markers.c.orig +++ examples/markers.c @@ -220,7 +220,7 @@ create_markerss (void) g_signal_connect_swapped (GTK_OBJECT (close_button), "clicked", G_CALLBACK (gtk_main_quit), GTK_OBJECT (box)); gtk_box_pack_start (GTK_BOX (box2), close_button, TRUE, TRUE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); gtk_widget_show_all (window); Index: examples/signals.c =================================================================== --- examples/signals.c.orig +++ examples/signals.c @@ -287,7 +287,7 @@ create_signals (void) g_signal_connect_swapped (G_OBJECT (close_button), "clicked", G_CALLBACK (gtk_main_quit), G_OBJECT (box)); gtk_box_pack_start (GTK_BOX (box2), close_button, TRUE, TRUE, 0); - GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default(close_button, TRUE); gtk_widget_grab_default (close_button); g_signal_connect (G_OBJECT (box), "zoomed", Index: gtk/gtkdatabox.c =================================================================== --- gtk/gtkdatabox.c.orig +++ gtk/gtkdatabox.c @@ -591,7 +591,7 @@ gtk_databox_realize (GtkWidget * widget) gint attributes_mask; box = GTK_DATABOX (widget); - GTK_WIDGET_SET_FLAGS (box, GTK_REALIZED); + gtk_widget_set_realized(box, TRUE); attributes.window_type = GDK_WINDOW_CHILD; attributes.x = widget->allocation.x; Index: gtk/gtkdatabox_ruler.c =================================================================== --- gtk/gtkdatabox_ruler.c.orig +++ gtk/gtkdatabox_ruler.c @@ -842,7 +842,7 @@ gtk_databox_ruler_realize (GtkWidget * w gint attributes_mask; ruler = GTK_DATABOX_RULER (widget); - GTK_WIDGET_SET_FLAGS (ruler, GTK_REALIZED); + gtk_widget_set_realized(ruler, TRUE); attributes.window_type = GDK_WINDOW_CHILD; attributes.x = widget->allocation.x;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor