[cheese/noflicker] fix casting, remember to squash this too



commit 5acda724f57b2f59f38a1cb852ed9dc8eaf2b5e2
Author: Filippo Argiolas <filippo argiolas gmail com>
Date:   Tue May 26 10:34:54 2009 +0200

    fix casting, remember to squash this too
---
 src/cheese-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cheese-window.c b/src/cheese-window.c
index ec287d5..10642f0 100644
--- a/src/cheese-window.c
+++ b/src/cheese-window.c
@@ -1996,7 +1996,7 @@ cheese_window_init (char *hal_dev_udi, CheeseDbus *dbus_server)
   gtk_widget_set_size_request (cheese_window->screen,
                                DEFAULT_WINDOW_WIDTH, DEFAULT_WINDOW_HEIGHT);
   gtk_widget_size_request (cheese_window->window, &req);
-  gtk_window_set_default_size (cheese_window->window, req.width, req.height);
+  gtk_window_set_default_size (GTK_WINDOW (cheese_window->window), req.width, req.height);
   gtk_widget_set_size_request (cheese_window->screen, -1, -1);
 
   gtk_widget_show_all (cheese_window->window);



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