summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2015-02-11 15:06:59 -0500
committerRyan Lortie <desrt@desrt.ca>2015-02-11 15:06:59 -0500
commitc397b3d424b63c659c532361354a8e8eaed176f4 (patch)
tree764b25aebb892a9653265abfd0d1c0dcc867687c
parentbe30a0eb451f4f380eb34528de071a61fe141e4c (diff)
preferences: resolve ambiguous 'ListStore' usage
There is now a GLib.ListStore as well, so make sure we use the full name Gtk.ListStore to avoid an ambiguous reference.
-rw-r--r--src/cheese-preferences.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cheese-preferences.vala b/src/cheese-preferences.vala
index 835f9aa2..21b68f38 100644
--- a/src/cheese-preferences.vala
+++ b/src/cheese-preferences.vala
@@ -101,7 +101,7 @@ public PreferencesDialog (Cheese.Camera camera)
private void initialize_camera_devices ()
{
unowned GLib.PtrArray devices = camera.get_camera_devices ();
- camera_model = new ListStore (2, typeof (string), typeof (Cheese.CameraDevice));
+ camera_model = new Gtk.ListStore (2, typeof (string), typeof (Cheese.CameraDevice));
source_combo.model = camera_model;
source_combo.sensitive = false;
@@ -120,7 +120,7 @@ public PreferencesDialog (Cheese.Camera camera)
private void setup_resolutions_for_device (Cheese.CameraDevice device)
{
var formats = device.get_format_list ();
- ListStore resolution_model = new ListStore (2, typeof (string),
+ Gtk.ListStore resolution_model = new Gtk.ListStore (2, typeof (string),
typeof (Cheese.VideoFormat));
photo_resolution_combo.model = resolution_model;