[gedit] Activate it before it is realized instead of after.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Activate it before it is realized instead of after.
- Date: Thu, 29 Jul 2010 19:20:36 +0000 (UTC)
commit e8c7b0a44ea14a56c32056861b2d3e2c8bb402cf
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Jul 29 21:20:01 2010 +0200
Activate it before it is realized instead of after.
gedit/gedit-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-view.c b/gedit/gedit-view.c
index b053c22..4eba9b7 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -2164,12 +2164,12 @@ gedit_view_realize (GtkWidget *widget)
{
GeditView *view = GEDIT_VIEW (widget);
- GTK_WIDGET_CLASS (gedit_view_parent_class)->realize (widget);
-
/* We only activate the extensions when the view is realized,
* because most plugins will expect this behaviour, and we won't
* change the buffer later anyway. */
peas_extension_set_call (view->priv->extensions, "activate");
+
+ GTK_WIDGET_CLASS (gedit_view_parent_class)->realize (widget);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]