[cheese] remove some stupid warnings about types
- From: Daniel G. Siegel <dgsiegel src gnome org>
- To: svn-commits-list gnome org
- Subject: [cheese] remove some stupid warnings about types
- Date: Mon, 27 Jul 2009 22:45:19 +0000 (UTC)
commit 641db58f99d33f53da9ff7e431effd947a7b6256
Author: daniel g. siegel <dgsiegel gnome org>
Date: Tue Jul 28 00:44:57 2009 +0200
remove some stupid warnings about types
src/cheese-prefs-resolution-combo.c | 2 +-
src/cheese-prefs-webcam-combo.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/cheese-prefs-resolution-combo.c b/src/cheese-prefs-resolution-combo.c
index a766539..0399c41 100644
--- a/src/cheese-prefs-resolution-combo.c
+++ b/src/cheese-prefs-resolution-combo.c
@@ -176,7 +176,7 @@ cheese_prefs_resolution_combo_synchronize (CheesePrefsWidget *prefs_widget)
G_CALLBACK (combo_selection_changed),
self);
- gtk_widget_set_sensitive (GTK_COMBO_BOX (combo_box), formats->len > 1);
+ gtk_widget_set_sensitive (combo_box, formats->len > 1);
}
static void
diff --git a/src/cheese-prefs-webcam-combo.c b/src/cheese-prefs-webcam-combo.c
index 0b9ce1f..e10ec2f 100644
--- a/src/cheese-prefs-webcam-combo.c
+++ b/src/cheese-prefs-webcam-combo.c
@@ -177,7 +177,7 @@ cheese_prefs_webcam_combo_synchronize (CheesePrefsWidget *prefs_widget)
/* Set sensitive or not depending on whether or not there are webcam devices
* available */
- gtk_widget_set_sensitive (GTK_COMBO_BOX (combo_box), num_devices > 1);
+ gtk_widget_set_sensitive (combo_box, num_devices > 1);
g_array_free (webcam_devices, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]