[gnome-devel-docs] Remove reference to now-fixed bug 674090
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Remove reference to now-fixed bug 674090
- Date: Thu, 6 Mar 2014 10:19:31 +0000 (UTC)
commit b0f439468445eb07fecb98a36b26c3d1f9c60865
Author: David King <amigadave amigadave com>
Date: Thu Mar 6 10:16:15 2014 +0000
Remove reference to now-fixed bug 674090
https://bugzilla.gnome.org/show_bug.cgi?id=724672
platform-demos/C/gmenu.vala.page | 3 ---
platform-demos/C/menubar.vala.page | 2 +-
platform-demos/C/samples/gmenu.vala | 2 +-
platform-demos/C/samples/menubar.vala | 2 +-
4 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/platform-demos/C/gmenu.vala.page b/platform-demos/C/gmenu.vala.page
index cffed91..41f394c 100644
--- a/platform-demos/C/gmenu.vala.page
+++ b/platform-demos/C/gmenu.vala.page
@@ -28,9 +28,6 @@
<note style="important">
<p><em style="strong">You need to be running GTK+-3.4 or later for this to work</em></p>
</note>
- <note style="bug">
- <p>This program will not compile with the quit action connected until <link
href="https://bugzilla.gnome.org/show_bug.cgi?id=674090">Bug #674090</link> is fixed. Therefore, the
problematic line has been commented out.</p>
- </note>
<p>A GtkApplication with a simple GMenu and SimpleActions</p>
<code mime="text/x-csharp" style="numbered"><xi:include href="samples/gmenu.vala"
parse="text"><xi:fallback/></xi:include></code>
diff --git a/platform-demos/C/menubar.vala.page b/platform-demos/C/menubar.vala.page
index a23b4d6..30cf739 100644
--- a/platform-demos/C/menubar.vala.page
+++ b/platform-demos/C/menubar.vala.page
@@ -111,7 +111,7 @@ void new_cb (SimpleAction action, Variant? parameter) {
void quit_cb (SimpleAction action, Variant? parameter) {
print ("You clicked \"Quit\"\n");
- //this.quit (); **Bug #674090**
+ this.quit ();
}</code>
</item>
<item><p>And lastly, we connect the menu items to the actions in the XML file by adding the "action"
attribute:</p>
diff --git a/platform-demos/C/samples/gmenu.vala b/platform-demos/C/samples/gmenu.vala
index 3d56a03..29c2144 100644
--- a/platform-demos/C/samples/gmenu.vala
+++ b/platform-demos/C/samples/gmenu.vala
@@ -49,7 +49,7 @@ public class Application : Gtk.Application {
this.app_menu = menu;
var quit_action = new SimpleAction ("quit", null);
- //quit_action.activate.connect (this.quit);
+ quit_action.activate.connect (this.quit);
this.add_action (quit_action);
}
}
diff --git a/platform-demos/C/samples/menubar.vala b/platform-demos/C/samples/menubar.vala
index 78c2808..368a62b 100644
--- a/platform-demos/C/samples/menubar.vala
+++ b/platform-demos/C/samples/menubar.vala
@@ -45,7 +45,7 @@ class MyApplication: Gtk.Application {
void quit_cb (SimpleAction action, Variant? parameter) {
print ("You clicked \"Quit\"\n");
- //this.quit (); **Bug #674090**
+ this.quit ();
}
void awesome_cb (SimpleAction action, Variant? parameter) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]