[anjuta/gnome-3-6] anjuta: Do not use GDL members deprecated in version 3.6
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/gnome-3-6] anjuta: Do not use GDL members deprecated in version 3.6
- Date: Sun, 11 Nov 2012 16:15:00 +0000 (UTC)
commit 59b2a529c745f2af469c06f499f409c1a53bc2e6
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Sun Oct 28 17:08:06 2012 +0100
anjuta: Do not use GDL members deprecated in version 3.6
configure.ac | 2 +-
src/action-callbacks.c | 2 +-
src/anjuta-app.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b8f8efe..8d4f9f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@ GDA4_REQUIRED=4.2.0
GDA5_REQUIRED=5.0.0
VTE_REQUIRED=0.27.6
LIBXML_REQUIRED=2.4.23
-GDL_REQUIRED=3.5.4
+GDL_REQUIRED=3.5.5
LIBWNCK_REQUIRED=2.12
dnl GtkSourceView
diff --git a/src/action-callbacks.c b/src/action-callbacks.c
index 6d91d17..f42937b 100644
--- a/src/action-callbacks.c
+++ b/src/action-callbacks.c
@@ -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);
}
diff --git a/src/anjuta-app.c b/src/anjuta-app.c
index faa421b..f14aab3 100644
--- a/src/anjuta-app.c
+++ b/src/anjuta-app.c
@@ -306,7 +306,7 @@ on_gdl_style_changed (GSettings* settings,
else if (strcasecmp (pr_style, "Tabs") == 0)
style = GDL_SWITCHER_STYLE_TABS;
- g_object_set (G_OBJECT(app->layout_manager->master), "switcher-style",
+ g_object_set (gdl_dock_layout_get_master (app->layout_manager), "switcher-style",
style, NULL);
g_free (pr_style);
}
@@ -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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]