[cheese] lib: fix typo when initializing photo_path private attribute



commit fa2f88ed7b0095cc4fed21d3e8ea4c52ed8b7285
Author: Lucas Rocha <lucasr gnome org>
Date:   Fri Apr 1 23:39:17 2011 +0100

    lib: fix typo when initializing photo_path private attribute

 libcheese/cheese-fileutil.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcheese/cheese-fileutil.c b/libcheese/cheese-fileutil.c
index 791a22f..dfaf8f4 100644
--- a/libcheese/cheese-fileutil.c
+++ b/libcheese/cheese-fileutil.c
@@ -189,7 +189,7 @@ cheese_fileutil_init (CheeseFileUtil *fileutil)
   settings = g_settings_new ("org.gnome.Cheese");
 
   g_settings_get (settings, "video-path", "s", &priv->video_path);
-  g_settings_get (settings, "photo-path", "s", &priv->video_path);
+  g_settings_get (settings, "photo-path", "s", &priv->photo_path);
 
   /* get the video path from gsettings, xdg or hardcoded */
   if (!priv->video_path || strcmp (priv->video_path, "") == 0)



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