libgnomekbd r276 - in trunk: . libgnomekbd



Author: svu
Date: Sat May 10 20:08:16 2008
New Revision: 276
URL: http://svn.gnome.org/viewvc/libgnomekbd?rev=276&view=rev

Log:
ansifying, indenting

Modified:
   trunk/ChangeLog
   trunk/libgnomekbd/gkbd-desktop-config.c
   trunk/libgnomekbd/gkbd-indicator-config.c
   trunk/libgnomekbd/gkbd-indicator-plugin-manager.h
   trunk/libgnomekbd/gkbd-indicator-plugin.h
   trunk/libgnomekbd/gkbd-keyboard-config.c
   trunk/libgnomekbd/gkbd-keyboard-drawing.c

Modified: trunk/libgnomekbd/gkbd-desktop-config.c
==============================================================================
--- trunk/libgnomekbd/gkbd-desktop-config.c	(original)
+++ trunk/libgnomekbd/gkbd-desktop-config.c	Sat May 10 20:08:16 2008
@@ -382,4 +382,3 @@
 
 	return True;
 }
-

Modified: trunk/libgnomekbd/gkbd-indicator-config.c
==============================================================================
--- trunk/libgnomekbd/gkbd-indicator-config.c	(original)
+++ trunk/libgnomekbd/gkbd-indicator-config.c	Sat May 10 20:08:16 2008
@@ -109,13 +109,13 @@
 			gkbd_keyboard_config_split_items (full_layout_name,
 							  &l, &v);
 			if (l != NULL) {
-				// probably there is something in theme?
+				/* probably there is something in theme? */
 				icon_info = gtk_icon_theme_lookup_icon
 				    (ind_config->icon_theme, l, 48, 0);
 			}
 		}
 	}
-	// fallback to the default value
+	/* fallback to the default value */
 	if (icon_info == NULL) {
 		icon_info = gtk_icon_theme_lookup_icon
 		    (ind_config->icon_theme, "stock_dialog-error", 48, 0);

Modified: trunk/libgnomekbd/gkbd-indicator-plugin-manager.h
==============================================================================
--- trunk/libgnomekbd/gkbd-indicator-plugin-manager.h	(original)
+++ trunk/libgnomekbd/gkbd-indicator-plugin-manager.h	Sat May 10 20:08:16 2008
@@ -88,7 +88,7 @@
 						 const char *full_path,
 						 GtkWindow * parent);
 
-// actual calling plugin notification methods
+/* actual calling plugin notification methods */
 
 extern void
  gkbd_indicator_plugin_manager_group_changed (GkbdIndicatorPluginManager * manager,

Modified: trunk/libgnomekbd/gkbd-indicator-plugin.h
==============================================================================
--- trunk/libgnomekbd/gkbd-indicator-plugin.h	(original)
+++ trunk/libgnomekbd/gkbd-indicator-plugin.h	Sat May 10 20:08:16 2008
@@ -73,29 +73,29 @@
 
 	const char *description;
 
-// implemented
+/* implemented */
 	GkbdIndicatorPluginInitFunc init_callback;
 
-// implemented
+/* implemented */
 	GkbdIndicatorPluginTermFunc term_callback;
 
-// implemented
+/* implemented */
 	 GkbdIndicatorPluginConfigureProperties
 	    configure_properties_callback;
 
-// implemented
+/* implemented */
 	GkbdIndicatorPluginGroupChangedFunc group_changed_callback;
 
-// implemented
+/* implemented */
 	GkbdIndicatorPluginWindowCreatedFunc window_created_callback;
 
-// implemented
+/* implemented */
 	GkbdIndicatorPluginDecorateWidget decorate_widget_callback;
 
-// non implemented
+/* not implemented */
 	GkbdIndicatorPluginConfigChangedFunc config_changed_callback;
 
-// non implemented
+/* not implemented */
 	GkbdIndicatorPluginCreateWidget create_widget_callback;
 
 } GkbdIndicatorPlugin;

Modified: trunk/libgnomekbd/gkbd-keyboard-config.c
==============================================================================
--- trunk/libgnomekbd/gkbd-keyboard-config.c	(original)
+++ trunk/libgnomekbd/gkbd-keyboard-config.c	Sat May 10 20:08:16 2008
@@ -746,8 +746,10 @@
 
 		/* Translators: The count is related to the number of options. The %s
 		 * format specifier should not be modified, left "as is". */
-		layouts = g_strdup_printf (ngettext ("layout \"%s\"", "layouts \"%s\"",
-					count), buffer->str);
+		layouts =
+		    g_strdup_printf (ngettext
+				     ("layout \"%s\"", "layouts \"%s\"",
+				      count), buffer->str);
 		g_string_truncate (buffer, 0);
 	}
 	if (config->options) {
@@ -763,8 +765,10 @@
 
 		/* Translators: The count is related to the number of options. The %s
 		 * format specifier should not be modified, left "as is". */
-		options = g_strdup_printf (ngettext ("option \"%s\"", "options \"%s\"",
-					count), buffer->str);
+		options =
+		    g_strdup_printf (ngettext
+				     ("option \"%s\"", "options \"%s\"",
+				      count), buffer->str);
 		g_string_truncate (buffer, 0);
 	}
 

Modified: trunk/libgnomekbd/gkbd-keyboard-drawing.c
==============================================================================
--- trunk/libgnomekbd/gkbd-keyboard-drawing.c	(original)
+++ trunk/libgnomekbd/gkbd-keyboard-drawing.c	Sat May 10 20:08:16 2008
@@ -949,7 +949,7 @@
 		}
 
 		if (drawing->track_modifiers) {
-			uint mods_rtrn;
+			guint mods_rtrn;
 			KeySym keysym;
 
 			if (XkbTranslateKeyCode (drawing->xkb, keycode,
@@ -1886,7 +1886,8 @@
 							    physical_indicators
 							    [i]->on =
 							    state;
-							create_cairo (drawing);
+							create_cairo
+							    (drawing);
 							draw_doodad
 							    (drawing->
 							     renderContext,
@@ -1894,7 +1895,8 @@
 							     drawing->
 							     physical_indicators
 							     [i]);
-							destroy_cairo (drawing);
+							destroy_cairo
+							    (drawing);
 							invalidate_indicator_doodad_region
 							    (drawing,
 							     drawing->



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