From 2c5e4aa768904c0a3c81b1b049f4e33799f77b08 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Tue, 19 Nov 2002 01:16:36 +0000 Subject: [PATCH] use gdk_drawable_get_size instead of gdk_window_get_size. Fixes #98957. Mon Nov 18 17:15:07 2002 Manish Singh * gtk/gtkwindow-decorate.c (gtk_decorated_window_paint): use gdk_drawable_get_size instead of gdk_window_get_size. Fixes #98957. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-2 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkwindow-decorate.c | 2 +- 7 files changed, 37 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 202791a1cd..6a3f1fc0c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Nov 18 17:15:07 2002 Manish Singh + + * gtk/gtkwindow-decorate.c (gtk_decorated_window_paint): use + gdk_drawable_get_size instead of gdk_window_get_size. Fixes + #98957. + Tue Nov 19 00:45:34 2002 Kristian Rietveld * docs/RELEASE-HOWTO: new file describing the release process. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 202791a1cd..6a3f1fc0c9 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Mon Nov 18 17:15:07 2002 Manish Singh + + * gtk/gtkwindow-decorate.c (gtk_decorated_window_paint): use + gdk_drawable_get_size instead of gdk_window_get_size. Fixes + #98957. + Tue Nov 19 00:45:34 2002 Kristian Rietveld * docs/RELEASE-HOWTO: new file describing the release process. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 202791a1cd..6a3f1fc0c9 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Mon Nov 18 17:15:07 2002 Manish Singh + + * gtk/gtkwindow-decorate.c (gtk_decorated_window_paint): use + gdk_drawable_get_size instead of gdk_window_get_size. Fixes + #98957. + Tue Nov 19 00:45:34 2002 Kristian Rietveld * docs/RELEASE-HOWTO: new file describing the release process. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 202791a1cd..6a3f1fc0c9 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Mon Nov 18 17:15:07 2002 Manish Singh + + * gtk/gtkwindow-decorate.c (gtk_decorated_window_paint): use + gdk_drawable_get_size instead of gdk_window_get_size. Fixes + #98957. + Tue Nov 19 00:45:34 2002 Kristian Rietveld * docs/RELEASE-HOWTO: new file describing the release process. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 202791a1cd..6a3f1fc0c9 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Mon Nov 18 17:15:07 2002 Manish Singh + + * gtk/gtkwindow-decorate.c (gtk_decorated_window_paint): use + gdk_drawable_get_size instead of gdk_window_get_size. Fixes + #98957. + Tue Nov 19 00:45:34 2002 Kristian Rietveld * docs/RELEASE-HOWTO: new file describing the release process. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 202791a1cd..6a3f1fc0c9 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Mon Nov 18 17:15:07 2002 Manish Singh + + * gtk/gtkwindow-decorate.c (gtk_decorated_window_paint): use + gdk_drawable_get_size instead of gdk_window_get_size. Fixes + #98957. + Tue Nov 19 00:45:34 2002 Kristian Rietveld * docs/RELEASE-HOWTO: new file describing the release process. diff --git a/gtk/gtkwindow-decorate.c b/gtk/gtkwindow-decorate.c index 3d7747df00..a8e4a956df 100644 --- a/gtk/gtkwindow-decorate.c +++ b/gtk/gtkwindow-decorate.c @@ -597,7 +597,7 @@ gtk_decorated_window_paint (GtkWidget *widget, gint width, height; frame = window->frame; - gdk_window_get_size (frame, &width, &height); + gdk_drawable_get_size (frame, &width, &height); /* Top */ gtk_paint_flat_box (widget->style, frame, GTK_STATE_NORMAL,