[anjuta] Fix check order for anjuta editor in glade plugin.
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] Fix check order for anjuta editor in glade plugin.
- Date: Sat, 3 Mar 2012 11:04:56 +0000 (UTC)
commit 146acfc9cd69593f274d681109e2e06081d5f841
Author: Marco Diego AurÃlio Mesquita <marcodiegomesquita gmail com>
Date: Mon Feb 27 10:31:25 2012 -0300
Fix check order for anjuta editor in glade plugin.
plugins/glade/plugin.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/glade/plugin.c b/plugins/glade/plugin.c
index 31884e9..89e11ab 100644
--- a/plugins/glade/plugin.c
+++ b/plugins/glade/plugin.c
@@ -127,14 +127,14 @@ signal_editor_signal_activated_cb (GladeSignalEditor* seditor,
if(!doc)
return;
+ if (!IANJUTA_IS_EDITOR (doc))
+ return;
+
current_editor = IANJUTA_EDITOR (doc);
if(!current_editor)
return;
- if (!IANJUTA_IS_EDITOR (doc))
- return;
-
g_signal_emit_by_name (G_OBJECT (current_editor), "glade-callback-add",
G_OBJECT_TYPE_NAME (glade_widget_get_object (gwidget)),
glade_signal_get_name (signal),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]