diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-11-21 10:05:33 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-11-21 10:05:33 +0000 |
| commit | e56649a95954bc74a2a7b75a8e8b6235727be444 (patch) | |
| tree | 3690c709657c87882a215f9d536a06656b4cc193 /meta/packages/gtk+/gtk+-2.10.6/spinbutton.patch | |
| parent | 31fd33d296900581bad723814f38faf6fda16212 (diff) | |
| download | poky-e56649a95954bc74a2a7b75a8e8b6235727be444.tar.gz | |
gtk+ 2.10.6: Sync with updated patches in OE.dev (pangoxft includes a calender fix)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@905 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.10.6/spinbutton.patch')
| -rw-r--r-- | meta/packages/gtk+/gtk+-2.10.6/spinbutton.patch | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/meta/packages/gtk+/gtk+-2.10.6/spinbutton.patch b/meta/packages/gtk+/gtk+-2.10.6/spinbutton.patch index 8ad7507af0..c26dc6d93c 100644 --- a/meta/packages/gtk+/gtk+-2.10.6/spinbutton.patch +++ b/meta/packages/gtk+/gtk+-2.10.6/spinbutton.patch | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | --- gtk+-2.4.3/gtk/gtkspinbutton.c.old 2004-04-22 14:49:27.000000000 +0100 | 1 | Index: gtk+-2.10.6/gtk/gtkspinbutton.c |
| 2 | +++ gtk+-2.4.3/gtk/gtkspinbutton.c 2004-06-30 21:48:18.000000000 +0100 | 2 | =================================================================== |
| 3 | @@ -733,7 +733,7 @@ | 3 | --- gtk+-2.10.6.orig/gtk/gtkspinbutton.c |
| 4 | +++ gtk+-2.10.6/gtk/gtkspinbutton.c | ||
| 5 | @@ -682,7 +682,7 @@ gtk_spin_button_size_allocate (GtkWidget | ||
| 4 | 6 | ||
| 5 | spin = GTK_SPIN_BUTTON (widget); | 7 | spin = GTK_SPIN_BUTTON (widget); |
| 6 | arrow_size = spin_button_get_arrow_size (spin); | 8 | arrow_size = spin_button_get_arrow_size (spin); |
| @@ -9,7 +11,7 @@ | |||
| 9 | 11 | ||
| 10 | widget->allocation = *allocation; | 12 | widget->allocation = *allocation; |
| 11 | 13 | ||
| 12 | @@ -866,19 +866,16 @@ | 14 | @@ -815,19 +815,16 @@ gtk_spin_button_draw_arrow (GtkSpinButto |
| 13 | { | 15 | { |
| 14 | width = spin_button_get_arrow_size (spin_button) + 2 * widget->style->xthickness; | 16 | width = spin_button_get_arrow_size (spin_button) + 2 * widget->style->xthickness; |
| 15 | 17 | ||
| @@ -33,7 +35,7 @@ | |||
| 33 | } | 35 | } |
| 34 | 36 | ||
| 35 | if (spin_button_at_limit (spin_button, arrow_type)) | 37 | if (spin_button_at_limit (spin_button, arrow_type)) |
| 36 | @@ -908,32 +905,17 @@ | 38 | @@ -857,32 +854,17 @@ gtk_spin_button_draw_arrow (GtkSpinButto |
| 37 | shadow_type = GTK_SHADOW_OUT; | 39 | shadow_type = GTK_SHADOW_OUT; |
| 38 | } | 40 | } |
| 39 | } | 41 | } |
| @@ -69,7 +71,7 @@ | |||
| 69 | 71 | ||
| 70 | w = width / 2; | 72 | w = width / 2; |
| 71 | w -= w % 2 - 1; /* force odd */ | 73 | w -= w % 2 - 1; /* force odd */ |
| 72 | @@ -1108,7 +1090,7 @@ | 74 | @@ -1062,7 +1044,7 @@ gtk_spin_button_button_press (GtkWidget |
| 73 | if (GTK_ENTRY (widget)->editable) | 75 | if (GTK_ENTRY (widget)->editable) |
| 74 | gtk_spin_button_update (spin); | 76 | gtk_spin_button_update (spin); |
| 75 | 77 | ||
| @@ -78,7 +80,7 @@ | |||
| 78 | { | 80 | { |
| 79 | if (event->button == 1) | 81 | if (event->button == 1) |
| 80 | start_spinning (spin, GTK_ARROW_UP, spin->adjustment->step_increment); | 82 | start_spinning (spin, GTK_ARROW_UP, spin->adjustment->step_increment); |
| 81 | @@ -1143,44 +1125,11 @@ | 83 | @@ -1097,44 +1079,11 @@ gtk_spin_button_button_release (GtkWidge |
| 82 | 84 | ||
| 83 | arrow_size = spin_button_get_arrow_size (spin); | 85 | arrow_size = spin_button_get_arrow_size (spin); |
| 84 | 86 | ||
| @@ -121,7 +123,7 @@ | |||
| 121 | - return TRUE; | 123 | - return TRUE; |
| 122 | - } | 124 | - } |
| 123 | - else | 125 | - else |
| 124 | - return GTK_WIDGET_CLASS (parent_class)->button_release_event (widget, event); | 126 | - return GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->button_release_event (widget, event); |
| 125 | + return TRUE; | 127 | + return TRUE; |
| 126 | } | 128 | } |
| 127 | 129 | ||
