changeset 431:4d1aa30a8776 trunk

[svn] create_pbutton() should hook on release, not on push. My bad. :P
author nenolod
date Sat, 14 Jan 2006 16:58:03 -0800
parents 67cd014f35a2
children e01a4c8f616f
files audacious/pbutton.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/pbutton.c	Sat Jan 14 16:49:00 2006 -0800
+++ b/audacious/pbutton.c	Sat Jan 14 16:58:03 2006 -0800
@@ -174,6 +174,7 @@
     b->pb_inside = 0;
     b->pb_pressed = 0;
     widget_list_add(wlist, WIDGET(b));
+
     return b;
 }
 
@@ -183,7 +184,7 @@
                gint px, gint py, void (*cb) (void), SkinPixmapId si)
 {
     return create_pbutton_ex(wlist, parent, gc, x, y, w, h, nx, ny, px, py,
-                             cb, NULL, si, si);
+                             NULL, cb, si, si);
 }
 
 void