cheese r930 - in trunk: . src
- From: dgsiegel svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r930 - in trunk: . src
- Date: Sat, 16 Aug 2008 23:08:21 +0000 (UTC)
Author: dgsiegel
Date: Sat Aug 16 23:08:21 2008
New Revision: 930
URL: http://svn.gnome.org/viewvc/cheese?rev=930&view=rev
Log:
small syntax cleanup
Modified:
trunk/ChangeLog
trunk/src/cheese-countdown.c
trunk/src/cheese-thumb-view.c
trunk/src/cheese.c
Modified: trunk/src/cheese-countdown.c
==============================================================================
--- trunk/src/cheese-countdown.c (original)
+++ trunk/src/cheese-countdown.c Sat Aug 16 23:08:21 2008
@@ -560,8 +560,8 @@
{
CheeseCountdownPrivate* priv = CHEESE_COUNTDOWN_GET_PRIVATE (data);
- GdkColor *color_bg = >K_WIDGET(widget)->style->bg[GTK_STATE_SELECTED];
- GdkColor *color_text = >K_WIDGET(widget)->style->fg[GTK_STATE_SELECTED];
+ GdkColor *color_bg = >K_WIDGET (widget)->style->bg[GTK_STATE_SELECTED];
+ GdkColor *color_text = >K_WIDGET (widget)->style->fg[GTK_STATE_SELECTED];
priv->bg.r = ((double)color_bg->red) / 65535;
priv->bg.g = ((double)color_bg->green) / 65535;
priv->bg.b = ((double)color_bg->blue) / 65535;
Modified: trunk/src/cheese-thumb-view.c
==============================================================================
--- trunk/src/cheese-thumb-view.c (original)
+++ trunk/src/cheese-thumb-view.c Sat Aug 16 23:08:21 2008
@@ -244,7 +244,8 @@
filename = g_file_get_path (file);
- if (!gtk_tree_model_get_iter_first (GTK_TREE_MODEL (priv->store), &iter)) {
+ if (!gtk_tree_model_get_iter_first (GTK_TREE_MODEL (priv->store), &iter))
+ {
/* a single item was on the thumbview but it's been already removed */
return;
}
@@ -256,7 +257,8 @@
while (gtk_tree_model_iter_next (GTK_TREE_MODEL (priv->store), &iter))
{
gtk_tree_model_get (GTK_TREE_MODEL (priv->store), &iter, THUMBNAIL_URL_COLUMN, &path, -1);
- if (!g_ascii_strcasecmp (path, filename)) {
+ if (!g_ascii_strcasecmp (path, filename))
+ {
found = TRUE;
break;
}
Modified: trunk/src/cheese.c
==============================================================================
--- trunk/src/cheese.c (original)
+++ trunk/src/cheese.c Sat Aug 16 23:08:21 2008
@@ -106,7 +106,8 @@
g_option_context_free (context);
dbus_server = cheese_dbus_new ();
- if (dbus_server == NULL) {
+ if (dbus_server == NULL)
+ {
gdk_notify_startup_complete ();
return -1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]