[gtk+/client-side-decorations] Fix some warnings.
- From: Cody Russell <bratsche src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/client-side-decorations] Fix some warnings.
- Date: Wed, 25 Nov 2009 22:22:20 +0000 (UTC)
commit 63bfcef0898283747930a28db5c6a9cbf5e9f8f9
Author: Cody Russell <bratsche gnome org>
Date: Wed Nov 25 16:22:04 2009 -0600
Fix some warnings.
gtk/gtkwindow.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index ba31e8c..31b6c99 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -53,6 +53,7 @@
#include "gtkplug.h"
#include "gtkbuildable.h"
#include "gtkstock.h"
+#include "gtkseparatormenuitem.h"
#include "gtkalias.h"
#ifdef GDK_WINDOWING_X11
@@ -1011,7 +1012,6 @@ gtk_window_class_init (GtkWindowClass *klass)
static void
gtk_window_init (GtkWindow *window)
{
- GdkColormap *colormap;
GtkWindowPrivate *priv = GTK_WINDOW_GET_PRIVATE (window);
GtkWidget *label;
@@ -5583,7 +5583,6 @@ gtk_window_size_allocate (GtkWidget *widget,
gint left_width = 0;
GdkRectangle rect;
gboolean client_decorated;
- gboolean maximized = FALSE;
window = GTK_WINDOW (widget);
container = GTK_CONTAINER (widget);
@@ -6724,7 +6723,7 @@ close_window_clicked (GtkMenuItem *menuitem,
{
GtkWindow *window = (GtkWindow *)user_data;
- close_button_clicked (window, NULL);
+ close_button_clicked (GTK_WIDGET (window), NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]