[gtk+] Make GtkToolButton use ::style-updated
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Make GtkToolButton use ::style-updated
- Date: Tue, 4 Jan 2011 02:19:09 +0000 (UTC)
commit a090de17804801d03bf0fe8c1f696c0c81336368
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jan 4 02:06:32 2011 +0100
Make GtkToolButton use ::style-updated
gtk/gtktoolbutton.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index fd9e70d..9d22e53 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -73,8 +73,7 @@ static void gtk_tool_button_toolbar_reconfigured (GtkToolItem *tool_item);
static gboolean gtk_tool_button_create_menu_proxy (GtkToolItem *item);
static void button_clicked (GtkWidget *widget,
GtkToolButton *button);
-static void gtk_tool_button_style_set (GtkWidget *widget,
- GtkStyle *prev_style);
+static void gtk_tool_button_style_updated (GtkWidget *widget);
static void gtk_tool_button_construct_contents (GtkToolItem *tool_item);
@@ -153,7 +152,7 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass)
object_class->notify = gtk_tool_button_property_notify;
object_class->finalize = gtk_tool_button_finalize;
- widget_class->style_set = gtk_tool_button_style_set;
+ widget_class->style_updated = gtk_tool_button_style_updated;
tool_item_class->create_menu_proxy = gtk_tool_button_create_menu_proxy;
tool_item_class->toolbar_reconfigured = gtk_tool_button_toolbar_reconfigured;
@@ -807,8 +806,7 @@ gtk_tool_button_update_icon_spacing (GtkToolButton *button)
}
static void
-gtk_tool_button_style_set (GtkWidget *widget,
- GtkStyle *prev_style)
+gtk_tool_button_style_updated (GtkWidget *widget)
{
gtk_tool_button_update_icon_spacing (GTK_TOOL_BUTTON (widget));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]