[gtksourceview] Use the new style-updated signal
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Use the new style-updated signal
- Date: Sun, 5 Dec 2010 12:55:46 +0000 (UTC)
commit 8e0bd7dbb13e48ec89e64ce14a5deb17490422c5
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Dec 5 13:53:16 2010 +0100
Use the new style-updated signal
gtksourceview/gtksourcecompletion.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 637f50d..f3722e8 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -1231,9 +1231,8 @@ gtk_source_completion_size_allocate (GtkWidget *widget,
}
static void
-gtk_source_completion_style_set (GtkWidget *widget,
- GtkStyle *prev,
- GtkSourceCompletion *completion)
+gtk_source_completion_style_updated (GtkWidget *widget,
+ GtkSourceCompletion *completion)
{
update_column_sizes (completion);
}
@@ -3089,8 +3088,8 @@ initialize_ui (GtkSourceCompletion *completion)
completion);
g_signal_connect_after (completion->priv->tree_view_proposals,
- "style-set",
- G_CALLBACK (gtk_source_completion_style_set),
+ "style-updated",
+ G_CALLBACK (gtk_source_completion_style_updated),
completion);
g_signal_connect (completion->priv->window,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]