commit postfish for openSUSE:Factory
Hello community, here is the log from the commit of package postfish for openSUSE:Factory checked in at Fri Mar 26 02:26:17 CET 2010. -------- --- postfish/postfish.changes 2010-01-11 12:11:59.000000000 +0100 +++ postfish/postfish.changes 2010-03-22 22:45:45.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Mar 22 21:45:17 UTC 2010 - dimstar@opensuse.org + +- Add postfish-gtk2.19.7.patch to fix build with gtk 2.19.7. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- postfish-gtk2.19.7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfish.spec ++++++ --- /var/tmp/diff_new_pack.22aEJk/_old 2010-03-26 02:25:57.000000000 +0100 +++ /var/tmp/diff_new_pack.22aEJk/_new 2010-03-26 02:25:57.000000000 +0100 @@ -27,11 +27,12 @@ PreReq: %install_info_prereq AutoReqProv: on Version: 2005_11_21 -Release: 118 +Release: 119 Summary: Postfish - digital audio post-processing tool Source: %{name}-%{version}.tar.bz2 Patch0: happy-gcc43.diff Patch1: bnc_536201_fclose.patch +Patch2: postfish-gtk2.19.7.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -54,6 +55,9 @@ %setup -n %{name} %patch0 -p1 %patch1 -p1 +%if 0%{suse_version} > 1120 +%patch2 -p1 +%endif %build %define archopt %{nil} ++++++ postfish-gtk2.19.7.patch ++++++ Index: postfish/multibar.c =================================================================== --- postfish.orig/multibar.c +++ postfish/multibar.c @@ -577,10 +577,10 @@ static void draw_and_expose(GtkWidget *w Multibar *m=MULTIBAR(widget); if(!GDK_IS_DRAWABLE(m->backing))return; draw(widget,m->bars); - if(!GTK_WIDGET_DRAWABLE(widget))return; + if(!gtk_widget_is_drawable(widget))return; if(!GDK_IS_DRAWABLE(widget->window))return; gdk_draw_drawable(widget->window, - widget->style->fg_gc[GTK_WIDGET_STATE (widget)], + widget->style->fg_gc[gtk_widget_get_state (widget)], m->backing, 0, 0, 0, 0, @@ -591,7 +591,7 @@ static void draw_and_expose(GtkWidget *w static gboolean expose( GtkWidget *widget, GdkEventExpose *event ){ Multibar *m=MULTIBAR(widget); gdk_draw_drawable(widget->window, - widget->style->fg_gc[GTK_WIDGET_STATE (widget)], + widget->style->fg_gc[gtk_widget_get_state (widget)], m->backing, event->area.x, event->area.y, event->area.x, event->area.y, Index: postfish/readout.c =================================================================== --- postfish.orig/readout.c +++ postfish/readout.c @@ -65,10 +65,10 @@ static void draw_and_expose(GtkWidget *w Readout *r=READOUT(widget); if(!GDK_IS_DRAWABLE(r->backing))return; draw(widget); - if(!GTK_WIDGET_DRAWABLE(widget))return; + if(!gtk_widget_is_drawable(widget))return; if(!GDK_IS_DRAWABLE(widget->window))return; gdk_draw_drawable(widget->window, - widget->style->fg_gc[GTK_WIDGET_STATE (widget)], + widget->style->fg_gc[gtk_widget_get_state (widget)], r->backing, 0, 0, 0, 0, @@ -79,7 +79,7 @@ static void draw_and_expose(GtkWidget *w static gboolean expose( GtkWidget *widget, GdkEventExpose *event ){ Readout *r=READOUT(widget); gdk_draw_drawable(widget->window, - widget->style->fg_gc[GTK_WIDGET_STATE (widget)], + widget->style->fg_gc[gtk_widget_get_state (widget)], r->backing, event->area.x, event->area.y, event->area.x, event->area.y, Index: postfish/windowbutton.c =================================================================== --- postfish.orig/windowbutton.c +++ postfish/windowbutton.c @@ -116,7 +116,7 @@ static void windowbutton_draw_indicator gint focus_pad; gboolean interior_focus; - if (GTK_WIDGET_DRAWABLE (check_button)){ + if (gtk_widget_is_drawable (check_button)){ widget = GTK_WIDGET (check_button); button = GTK_BUTTON (check_button); @@ -135,7 +135,7 @@ static void windowbutton_draw_indicator (widget->allocation.height - indicator_size) / 2; child = GTK_BIN (check_button)->child; - if (!interior_focus || !(child && GTK_WIDGET_VISIBLE (child))) + if (!interior_focus || !(child && gtk_widget_get_visible (child))) x += focus_width + focus_pad; if (toggle_button->inconsistent) @@ -149,7 +149,7 @@ static void windowbutton_draw_indicator state_type = GTK_STATE_ACTIVE; else if (button->in_button) state_type = GTK_STATE_PRELIGHT; - else if (!GTK_WIDGET_IS_SENSITIVE (widget)){ + else if (!gtk_widget_is_sensitive (widget)){ state_type = GTK_STATE_INSENSITIVE; shadow_type = GTK_SHADOW_ETCHED_IN; }else ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de