[gtksourceview/gnome-3-8] Completion: fix bug with info window placement
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/gnome-3-8] Completion: fix bug with info window placement
- Date: Wed, 12 Jun 2013 18:33:01 +0000 (UTC)
commit 643134b7072bc4be1d754c0cfef0de6eb60c361b
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Jun 12 20:29:17 2013 +0200
Completion: fix bug with info window placement
With g_signal_connect_after() on the "configure-event" signal, the
callback is not called because (probably) the default handler is called
before and returns TRUE to stop further propagation.
Anyway g_signal_connect() is OK here.
gtksourceview/gtksourcecompletion.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 190003a..9ce1788 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -2149,10 +2149,10 @@ init_main_window (GtkSourceCompletion *completion,
WINDOW_WIDTH,
WINDOW_HEIGHT);
- g_signal_connect_after (completion->priv->main_window,
- "configure-event",
- G_CALLBACK (gtk_source_completion_configure_event),
- completion);
+ g_signal_connect (completion->priv->main_window,
+ "configure-event",
+ G_CALLBACK (gtk_source_completion_configure_event),
+ completion);
g_signal_connect (completion->priv->main_window,
"delete-event",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]