remove "_from_bindings" suffix from the names of binding signal

2008-07-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
	names of binding signal implementations.


svn path=/trunk/; revision=20744
This commit is contained in:
Michael Natterer 2008-07-03 13:13:23 +00:00 committed by Michael Natterer
parent 6f2850bd2d
commit 528f7b7336
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2008-07-03 Michael Natterer <mitch@imendio.com>
* gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
names of binding signal implementations.
2008-07-03 Li Yuan <li.yuan@sun.com>
* gail-uninstalled.pc.in:

View File

@ -125,8 +125,8 @@ static gboolean gtk_scale_button_press (GtkWidget *widget,
GdkEventButton *event);
static gboolean gtk_scale_button_key_release (GtkWidget *widget,
GdkEventKey *event);
static void gtk_scale_button_popup_from_bindings (GtkWidget *widget);
static void gtk_scale_button_popdown_from_bindings (GtkWidget *widget);
static void gtk_scale_button_popup (GtkWidget *widget);
static void gtk_scale_button_popdown (GtkWidget *widget);
static gboolean cb_dock_button_press (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data);
@ -285,7 +285,7 @@ gtk_scale_button_class_init (GtkScaleButtonClass *klass)
_gtk_binding_signal_new (I_("popup"),
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_CALLBACK (gtk_scale_button_popup_from_bindings),
G_CALLBACK (gtk_scale_button_popup),
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
@ -306,7 +306,7 @@ gtk_scale_button_class_init (GtkScaleButtonClass *klass)
_gtk_binding_signal_new (I_("popdown"),
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_CALLBACK (gtk_scale_button_popdown_from_bindings),
G_CALLBACK (gtk_scale_button_popdown),
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
@ -1000,7 +1000,7 @@ gtk_scale_button_press (GtkWidget *widget,
}
static void
gtk_scale_button_popup_from_bindings (GtkWidget *widget)
gtk_scale_button_popup (GtkWidget *widget)
{
GdkEvent *ev;
@ -1210,7 +1210,7 @@ cb_dock_button_press (GtkWidget *widget,
}
static void
gtk_scale_button_popdown_from_bindings (GtkWidget *widget)
gtk_scale_button_popdown (GtkWidget *widget)
{
GtkScaleButton *button;
GtkScaleButtonPrivate *priv;
@ -1237,7 +1237,7 @@ cb_dock_key_release (GtkWidget *widget,
{
if (event->keyval == GDK_Escape)
{
gtk_scale_button_popdown_from_bindings (GTK_WIDGET (user_data));
gtk_scale_button_popdown (GTK_WIDGET (user_data));
return TRUE;
}