Commit a9575223 authored by Manish Singh's avatar Manish Singh

rm -rf intl breaks --disable-nls, put it back

* autogen.sh: rm -rf intl breaks --disable-nls, put it back

* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)

-Yosh
parent b0ecac9f
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll
......
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll
......
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll
......
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll
......
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll
......
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll
......
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll
......
......@@ -79,9 +79,6 @@ echo "Running gettextize... Ignore non-fatal messages."
# while making dist.
echo "no" | gettextize --copy --force
# We don't need ./intl
rm -rf intl
aclocal $ACLOCAL_FLAGS
# optionally feature autoheader
......
......@@ -160,14 +160,14 @@ gtk_button_class_init (GtkButtonClass *klass)
gtk_signal_new ("enter",
GTK_RUN_FIRST,
object_class->type,
GTK_SIGNAL_OFFSET (GtkButtonClass, enter),
GTK_SIGNAL_OFFSET (GtkButtonClass, enter_button),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
button_signals[LEAVE] =
gtk_signal_new ("leave",
GTK_RUN_FIRST,
object_class->type,
GTK_SIGNAL_OFFSET (GtkButtonClass, leave),
GTK_SIGNAL_OFFSET (GtkButtonClass, leave_button),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
......@@ -198,8 +198,8 @@ gtk_button_class_init (GtkButtonClass *klass)
klass->pressed = gtk_real_button_pressed;
klass->released = gtk_real_button_released;
klass->clicked = NULL;
klass->enter = gtk_real_button_enter;
klass->leave = gtk_real_button_leave;
klass->enter_button = gtk_real_button_enter;
klass->leave_button = gtk_real_button_leave;
}
static void
......
......@@ -56,11 +56,15 @@ struct _GtkButtonClass
{
GtkBinClass parent_class;
void (* pressed) (GtkButton *button);
void (* released) (GtkButton *button);
void (* clicked) (GtkButton *button);
void (* enter) (GtkButton *button);
void (* leave) (GtkButton *button);
void (* pressed) (GtkButton *button);
void (* released) (GtkButton *button);
void (* clicked) (GtkButton *button);
/* these used to be enter and leave, but Digital decided they were more
important than us. They may have beaten us for now, but revenge is
a dish best served cold */
void (* enter_button) (GtkButton *button);
void (* leave_button) (GtkButton *button);
};
......
......@@ -129,8 +129,8 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
button_class->pressed = gtk_toggle_button_pressed;
button_class->released = gtk_toggle_button_released;
button_class->clicked = gtk_toggle_button_clicked;
button_class->enter = gtk_toggle_button_enter;
button_class->leave = gtk_toggle_button_leave;
button_class->enter_button = gtk_toggle_button_enter;
button_class->leave_button = gtk_toggle_button_leave;
class->toggled = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment