Fix a couple warnings.
This commit is contained in:
parent
adf555001f
commit
74b9b17cfd
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.76 2012/11/11 14:22:13 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.77 2012/11/11 16:02:15 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT= versatile IDE for GNOME
|
||||
|
||||
GNOME_PROJECT= anjuta
|
||||
GNOME_VERSION= 3.6.1
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
SHARED_LIBS += anjuta-3 0.0 # 0.0
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_anjuta-app_c,v 1.3 2012/11/11 15:43:14 ajacoutot Exp $
|
||||
$OpenBSD: patch-src_anjuta-app_c,v 1.4 2012/11/11 16:02:15 ajacoutot Exp $
|
||||
|
||||
Adapted from:
|
||||
From 1e76a12618da9fd1e8d52d1f596505513cbf3f00 Mon Sep 17 00:00:00 2001
|
||||
@ -7,7 +7,7 @@ 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 Wed Sep 26 22:53:47 2012
|
||||
+++ src/anjuta-app.c Sun Nov 11 16:10:04 2012
|
||||
+++ src/anjuta-app.c Sun Nov 11 17:01:39 2012
|
||||
@@ -306,7 +306,7 @@ on_gdl_style_changed (GSettings* settings,
|
||||
else if (strcasecmp (pr_style, "Tabs") == 0)
|
||||
style = GDL_SWITCHER_STYLE_TABS;
|
||||
@ -17,8 +17,17 @@ Subject: anjuta: Do not use GDL members deprecated in version 3.6
|
||||
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));
|
||||
@@ -582,14 +582,14 @@ anjuta_app_instance_init (AnjutaApp *app)
|
||||
gtk_widget_show (app->dock);
|
||||
gtk_box_pack_end(GTK_BOX (hbox), app->dock, TRUE, TRUE, 0);
|
||||
|
||||
- dockbar = gdl_dock_bar_new (GDL_DOCK(app->dock));
|
||||
+ dockbar = gdl_dock_bar_new (gdl_dock_layout_get_master (app->layout_manager));
|
||||
gtk_widget_show (dockbar);
|
||||
gtk_box_pack_start(GTK_BOX (hbox), dockbar, FALSE, FALSE, 0);
|
||||
|
||||
- app->layout_manager = gdl_dock_layout_new (GDL_DOCK (app->dock));
|
||||
+ app->layout_manager = gdl_dock_layout_new (gdl_dock_layout_get_master (app->layout_manager));
|
||||
g_signal_connect (app->layout_manager, "notify::dirty",
|
||||
G_CALLBACK (on_layout_dirty_notify), app);
|
||||
- g_signal_connect (app->layout_manager->master, "notify::locked",
|
||||
|
Loading…
Reference in New Issue
Block a user