[anjuta/gnome-3-4] glade: bgo#676811 - Fix check order of editor on member add
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/gnome-3-4] glade: bgo#676811 - Fix check order of editor on member add
- Date: Sat, 28 Jul 2012 09:52:18 +0000 (UTC)
commit e2f16eeb9d9b153e99b82ec7911692413df74634
Author: Marco Diego AurÃlio Mesquita <marcodiegomesquita gmail com>
Date: Thu May 31 21:23:51 2012 +0200
glade: bgo#676811 - Fix check order of editor on member add
plugins/glade/plugin.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/glade/plugin.c b/plugins/glade/plugin.c
index 89e11ab..d9164d1 100644
--- a/plugins/glade/plugin.c
+++ b/plugins/glade/plugin.c
@@ -401,12 +401,12 @@ add_glade_member (GladeWidget *widget,
if(!doc)
return;
- current_editor = IANJUTA_EDITOR (doc);
-
- if(!current_editor)
+ if (!IANJUTA_IS_EDITOR (doc))
return;
- if (!IANJUTA_IS_EDITOR (doc))
+ current_editor = IANJUTA_EDITOR (doc);
+
+ if (!current_editor)
return;
g_signal_emit_by_name (G_OBJECT (current_editor), "glade-member-add",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]