[vte] Add cast to fix compiler warning
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Add cast to fix compiler warning
- Date: Mon, 18 Oct 2010 14:07:41 +0000 (UTC)
commit 51a75752f3df876c4a96b6f9030ebc79afbf6c6a
Author: Christian Persch <chpe gnome org>
Date: Mon Oct 18 16:03:17 2010 +0200
Add cast to fix compiler warning
src/vteapp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vteapp.c b/src/vteapp.c
index 144eaed..45ed957 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -1079,7 +1079,7 @@ main(int argc, char **argv)
/* As of GTK+ 2.91.0, the default size of a window comes from its minimum
* size not its natural size, so we need to set the right default size
* explicitly */
- gtk_window_set_default_geometry (window,
+ gtk_window_set_default_geometry (GTK_WINDOW (window),
vte_terminal_get_column_count (terminal),
vte_terminal_get_row_count (terminal));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]