[gnome-devel-docs] Remove application_id.



commit 2a2094532bbae708c13fc2577225a15ba6ff692d
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date:   Sun Jun 10 02:09:26 2012 -0400

    Remove application_id.

 platform-demos/C/samples/toolbar.vala |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/platform-demos/C/samples/toolbar.vala b/platform-demos/C/samples/toolbar.vala
index f0b4dc9..45d0252 100644
--- a/platform-demos/C/samples/toolbar.vala
+++ b/platform-demos/C/samples/toolbar.vala
@@ -39,7 +39,7 @@ class MyWindow : Gtk.ApplicationWindow {
 	void create_toolbar () {
 		toolbar = new Gtk.Toolbar ();
 		toolbar.get_style_context ().add_class (Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);
-		
+
 		new_button = new Gtk.ToolButton.from_stock (Gtk.Stock.NEW);
 		new_button.is_important = true; //decides whether to show the label
 		toolbar.add (new_button);
@@ -68,7 +68,7 @@ class MyWindow : Gtk.ApplicationWindow {
 ;
 		leave_fullscreen_button.is_important = true;
 		toolbar.add (leave_fullscreen_button);
-		
+
 		leave_fullscreen_button.action_name = "win.fullscreen";
 	}
 
@@ -124,11 +124,6 @@ class MyApplication : Gtk.Application {
 	void open_callback (SimpleAction action, Variant? parameter) {
 			print ("You clicked \"Open\".\n");
 	}
-
-	/* Constructor */	
-	internal MyApplication () {
-		Object (application_id: "org.example.toolbar");
-	}
 }
 
 /* The main function creates the application and runs it. */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]