[gnome-settings-daemon/gnome-3-2] print-notifications: Use lowercase label in goto



commit 34291fd1ddd812270905ab62ffe04ce8c35f7f21
Author: Marek Kasik <mkasik redhat com>
Date:   Tue Oct 25 11:54:29 2011 +0200

    print-notifications: Use lowercase label in goto
    
    Use "error" instead of "Error".

 plugins/print-notifications/gsd-printer.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/print-notifications/gsd-printer.c b/plugins/print-notifications/gsd-printer.c
index 6f7d306..63481e1 100644
--- a/plugins/print-notifications/gsd-printer.c
+++ b/plugins/print-notifications/gsd-printer.c
@@ -1368,7 +1368,7 @@ main (int argc, char *argv[])
   if (npn_introspection_data == NULL) {
           g_warning ("Error parsing introspection XML: %s\n", error->message);
           g_error_free (error);
-          goto Error;
+          goto error;
   }
 
   pdi_introspection_data =
@@ -1377,7 +1377,7 @@ main (int argc, char *argv[])
   if (pdi_introspection_data == NULL) {
           g_warning ("Error parsing introspection XML: %s\n", error->message);
           g_error_free (error);
-          goto Error;
+          goto error;
   }
 
   connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
@@ -1449,7 +1449,7 @@ main (int argc, char *argv[])
 
   return 0;
 
-Error:
+error:
 
   if (npn_introspection_data)
           g_dbus_node_info_unref (npn_introspection_data);



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