summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-14 04:12:44 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-14 04:12:44 +0800
commit88aeab2498ec32c9cd2a06a7f711c7e609d8ee05 (patch)
treeca33e0d9c096060bb35ac30d3a0399aab6dd8e93 /graphics
parent753454e2119005ba33ff8648401c1caaa7a34fd4 (diff)
downloadmarcuscom-ports-88aeab2498ec32c9cd2a06a7f711c7e609d8ee05.tar
marcuscom-ports-88aeab2498ec32c9cd2a06a7f711c7e609d8ee05.tar.gz
marcuscom-ports-88aeab2498ec32c9cd2a06a7f711c7e609d8ee05.tar.bz2
marcuscom-ports-88aeab2498ec32c9cd2a06a7f711c7e609d8ee05.tar.lz
marcuscom-ports-88aeab2498ec32c9cd2a06a7f711c7e609d8ee05.tar.xz
marcuscom-ports-88aeab2498ec32c9cd2a06a7f711c7e609d8ee05.tar.zst
marcuscom-ports-88aeab2498ec32c9cd2a06a7f711c7e609d8ee05.zip
Fix build with new depricated *beep* in gtk.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13814 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/clutter-gtk/Makefile2
-rw-r--r--graphics/clutter-gtk/files/patch-clutter-gtk_gtk-clutter-embed.c29
2 files changed, 30 insertions, 1 deletions
diff --git a/graphics/clutter-gtk/Makefile b/graphics/clutter-gtk/Makefile
index 09b4ecd7c..4713bbfa2 100644
--- a/graphics/clutter-gtk/Makefile
+++ b/graphics/clutter-gtk/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clutter-gtk
PORTVERSION= 0.10.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://www.clutter-project.org/sources/${PORTNAME}/${PORTVERSION:R}/
diff --git a/graphics/clutter-gtk/files/patch-clutter-gtk_gtk-clutter-embed.c b/graphics/clutter-gtk/files/patch-clutter-gtk_gtk-clutter-embed.c
new file mode 100644
index 000000000..aa0774848
--- /dev/null
+++ b/graphics/clutter-gtk/files/patch-clutter-gtk_gtk-clutter-embed.c
@@ -0,0 +1,29 @@
+--- clutter-gtk/gtk-clutter-embed.c.orig 2009-06-27 16:21:06.000000000 +0200
++++ clutter-gtk/gtk-clutter-embed.c 2010-03-13 20:56:41.000000000 +0100
+@@ -131,7 +131,7 @@ gtk_clutter_embed_show (GtkWidget *widge
+ {
+ GtkClutterEmbedPrivate *priv = GTK_CLUTTER_EMBED (widget)->priv;
+
+- if (GTK_WIDGET_REALIZED (widget))
++ if (gtk_widget_get_realized (widget))
+ clutter_actor_show (priv->stage);
+
+ GTK_WIDGET_CLASS (gtk_clutter_embed_parent_class)->show (widget);
+@@ -222,7 +222,7 @@ gtk_clutter_embed_realize (GtkWidget *wi
+
+ clutter_actor_realize (priv->stage);
+
+- if (GTK_WIDGET_VISIBLE (widget))
++ if (gtk_widget_get_visible (widget))
+ clutter_actor_show (priv->stage);
+
+ gtk_clutter_embed_send_configure (GTK_CLUTTER_EMBED (widget));
+@@ -246,7 +246,7 @@ gtk_clutter_embed_size_allocate (GtkWidg
+
+ widget->allocation = *allocation;
+
+- if (GTK_WIDGET_REALIZED (widget))
++ if (gtk_widget_get_realized (widget))
+ {
+ gdk_window_move_resize (widget->window,
+ allocation->x, allocation->y,