[gnome-color-manager] trivial: tiny optimisation



commit 576761379df3701e7221d6dde116f17180f23358
Author: Richard Hughes <richard hughsie com>
Date:   Fri Nov 27 10:02:56 2009 +0000

    trivial: tiny optimisation

 src/gcm-apply.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/gcm-apply.c b/src/gcm-apply.c
index e20b71e..f4858bb 100644
--- a/src/gcm-apply.c
+++ b/src/gcm-apply.c
@@ -47,10 +47,6 @@ main (int argc, char **argv)
 	GcmDevice *device;
 	GcmDeviceType type;
 
-	const GOptionEntry options[] = {
-		{ NULL}
-	};
-
 	setlocale (LC_ALL, "");
 
 	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
@@ -60,7 +56,6 @@ main (int argc, char **argv)
 	gtk_init (&argc, &argv);
 
 	context = g_option_context_new ("gnome-color-manager apply program");
-	g_option_context_add_main_entries (context, options, NULL);
 	g_option_context_add_group (context, egg_debug_get_option_group ());
 	g_option_context_add_group (context, gtk_get_option_group (TRUE));
 	g_option_context_parse (context, &argc, &argv, NULL);



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