[anjuta] project-wizard: [CCode (instance_pos = -1)] should be in the signal callback
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] project-wizard: [CCode (instance_pos = -1)] should be in the signal callback
- Date: Sat, 25 Feb 2012 12:39:45 +0000 (UTC)
commit 2990b75900d5411d30ff108795cddf39c04ea383
Author: Abderrahim Kitouni <a kitouni gmail com>
Date: Fri Feb 24 13:57:36 2012 +0100
project-wizard: [CCode (instance_pos = -1)] should be in the signal callback
This is a fix to f1b476604649335fd8dd985e4d0550e713cba46f
https://bugzilla.gnome.org/show_bug.cgi?id=670483
.../templates/vala-gtk/src/main.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/project-wizard/templates/vala-gtk/src/main.vala b/plugins/project-wizard/templates/vala-gtk/src/main.vala
index f00bafd..6b92fc5 100644
--- a/plugins/project-wizard/templates/vala-gtk/src/main.vala
+++ b/plugins/project-wizard/templates/vala-gtk/src/main.vala
@@ -47,14 +47,14 @@ public class Main : Object
window.destroy.connect(on_destroy);
[+ENDIF+]
}
-
+[+IF (=(get "HaveBuilderUI") "1")+]
+ [CCode (instance_pos = -1)][+
+ ENDIF+]
public void on_destroy (Widget window)
{
Gtk.main_quit();
}
-[+IF (=(get "HaveBuilderUI") "1")+]
- [CCode (instance_pos = -1)][+
- ENDIF+]
+
static int main (string[] args)
{
Gtk.init (ref args);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]