Unbreak with new gdl; breakage reported by nigel@
This commit is contained in:
parent
77c251c641
commit
f0b85c7181
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.75 2012/10/21 15:22:05 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.76 2012/11/11 14:22:13 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -6,6 +6,7 @@ COMMENT= versatile IDE for GNOME
|
||||
|
||||
GNOME_PROJECT= anjuta
|
||||
GNOME_VERSION= 3.6.1
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS += anjuta-3 0.0 # 0.0
|
||||
|
||||
|
19
x11/gnome/anjuta/patches/patch-src_action-callbacks_c
Normal file
19
x11/gnome/anjuta/patches/patch-src_action-callbacks_c
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-src_action-callbacks_c,v 1.1 2012/11/11 14:22:13 ajacoutot Exp $
|
||||
|
||||
Adapted from:
|
||||
From 1e76a12618da9fd1e8d52d1f596505513cbf3f00 Mon Sep 17 00:00:00 2001
|
||||
From: Sébastien Granjoux <seb.sfo@free.fr>
|
||||
Date: Sun, 28 Oct 2012 16:08:06 +0000
|
||||
Subject: anjuta: Do not use GDL members deprecated in version 3.6
|
||||
|
||||
--- src/action-callbacks.c.orig Wed Sep 26 22:53:47 2012
|
||||
+++ src/action-callbacks.c Sun Nov 11 15:20:32 2012
|
||||
@@ -65,7 +65,7 @@ void
|
||||
on_layout_lock_toggle (GtkAction *action, AnjutaApp *app)
|
||||
{
|
||||
if (app->layout_manager)
|
||||
- g_object_set (app->layout_manager->master, "locked",
|
||||
+ g_object_set (gdl_dock_layout_get_master (app->layout_manager), "locked",
|
||||
gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)),
|
||||
NULL);
|
||||
}
|
19
x11/gnome/anjuta/patches/patch-src_anjuta-app_c
Normal file
19
x11/gnome/anjuta/patches/patch-src_anjuta-app_c
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-src_anjuta-app_c,v 1.1 2012/11/11 14:22:13 ajacoutot Exp $
|
||||
|
||||
Adapted from:
|
||||
From 1e76a12618da9fd1e8d52d1f596505513cbf3f00 Mon Sep 17 00:00:00 2001
|
||||
From: S\xc3\xa9bastien Granjoux <seb.sfo@free.fr>
|
||||
Date: Sun, 28 Oct 2012 16:08:06 +0000
|
||||
Subject: anjuta: Do not use GDL members deprecated in version 3.6
|
||||
|
||||
--- src/anjuta-app.c.orig Sun Nov 11 15:20:38 2012
|
||||
+++ src/anjuta-app.c Sun Nov 11 15:20:41 2012
|
||||
@@ -589,7 +589,7 @@ anjuta_app_instance_init (AnjutaApp *app)
|
||||
app->layout_manager = gdl_dock_layout_new (GDL_DOCK (app->dock));
|
||||
g_signal_connect (app->layout_manager, "notify::dirty",
|
||||
G_CALLBACK (on_layout_dirty_notify), app);
|
||||
- g_signal_connect (app->layout_manager->master, "notify::locked",
|
||||
+ g_signal_connect (gdl_dock_layout_get_master (app->layout_manager), "notify::locked",
|
||||
G_CALLBACK (on_layout_locked_notify), app);
|
||||
|
||||
/* UI engine */
|
Loading…
Reference in New Issue
Block a user