Fix a C99ism. (#340055, Kazuki Iwamoto)

2006-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_is_composited): Fix a C99ism.  (#340055,
	Kazuki Iwamoto)
This commit is contained in:
Matthias Clasen 2006-04-29 04:36:28 +00:00 committed by Matthias Clasen
parent 6162f9d51a
commit f6ce27f4c9
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_is_composited): Fix a C99ism. (#340055,
Kazuki Iwamoto)
2006-04-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (get_size): Use _static variants when

View File

@ -1,3 +1,8 @@
2006-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_is_composited): Fix a C99ism. (#340055,
Kazuki Iwamoto)
2006-04-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (get_size): Use _static variants when

View File

@ -5182,9 +5182,11 @@ gtk_widget_propagate_screen_changed_recurse (GtkWidget *widget,
gboolean
gtk_widget_is_composited (GtkWidget *widget)
{
GdkScreen *screen;
g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
GdkScreen *screen = gtk_widget_get_screen (widget);
screen = gtk_widget_get_screen (widget);
return gdk_screen_is_composited (screen);
}