forked from AuroraMiddleware/gtk
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:
parent
6162f9d51a
commit
f6ce27f4c9
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user