[cheese/capsrework] Really fix preferences to use the new api



commit 6ece320381eeefa283b8e295fbda62058c6373e6
Author: Filippo Argiolas <filippo argiolas gmail com>
Date:   Mon Dec 14 18:43:59 2009 +0100

    Really fix preferences to use the new api

 src/cheese-prefs-resolution-combo.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/cheese-prefs-resolution-combo.c b/src/cheese-prefs-resolution-combo.c
index 5ccb48f..29a1391 100644
--- a/src/cheese-prefs-resolution-combo.c
+++ b/src/cheese-prefs-resolution-combo.c
@@ -154,7 +154,8 @@ cheese_prefs_resolution_combo_synchronize (CheesePrefsWidget *prefs_widget)
 
       g_free (format_name);
 
-      if (format == current_format)
+      if ((format->width == current_format->width) &&
+          (format->height == current_format->height))
       {
         active_iter      = iter;
         found_resolution = TRUE;



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