diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-01-07 16:47:35 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-01 04:55:55 +0100 |
commit | 4f78f70b15f861cca115f578b0f3f4ad3ad087e7 (patch) | |
tree | 87166fea7e72454f79e388c8fef075570e081d9c /demos | |
parent | 6a9d4d82031a3a51a0c0ac8197766b75cd38a0a4 (diff) | |
download | gtk+-4f78f70b15f861cca115f578b0f3f4ad3ad087e7.tar.gz |
Deprecate widget flag: GTK_WIDGET_DRAWABLE
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/offscreen_window.c | 2 | ||||
-rw-r--r-- | demos/gtk-demo/offscreen_window2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/offscreen_window.c b/demos/gtk-demo/offscreen_window.c index 32c9c8c095..08654c1c7d 100644 --- a/demos/gtk-demo/offscreen_window.c +++ b/demos/gtk-demo/offscreen_window.c @@ -466,7 +466,7 @@ gtk_rotated_bin_expose (GtkWidget *widget, gdouble s, c; gdouble w, h; - if (GTK_WIDGET_DRAWABLE (widget)) + if (gtk_widget_is_drawable (widget)) { if (event->window == widget->window) { diff --git a/demos/gtk-demo/offscreen_window2.c b/demos/gtk-demo/offscreen_window2.c index 19ca760bda..c1f8146599 100644 --- a/demos/gtk-demo/offscreen_window2.c +++ b/demos/gtk-demo/offscreen_window2.c @@ -369,7 +369,7 @@ gtk_mirror_bin_expose (GtkWidget *widget, GtkMirrorBin *bin = GTK_MIRROR_BIN (widget); gint width, height; - if (GTK_WIDGET_DRAWABLE (widget)) + if (gtk_widget_is_drawable (widget)) { if (event->window == widget->window) { |