From 03b69885ed4007ccfd4ddb09fcce9779223d3739 Mon Sep 17 00:00:00 2001
From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com>
Date: Fri, 14 Jul 2006 22:33:35 -0500
Subject: [PATCH] Little cleanup
---
moo.kdevelop | 38 +++++++++++------------
moo/mooutils/moofileview/moobookmarkmgr.c | 2 +-
moo/mooutils/moofileview/moofileview.c | 8 ++---
moo/mooutils/moofiltermgr.c | 4 +--
moo/mooutils/moopaned.c | 4 +--
5 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/moo.kdevelop b/moo.kdevelop
index a90947ca..24234886 100644
--- a/moo.kdevelop
+++ b/moo.kdevelop
@@ -26,7 +26,7 @@
.
false
-
+
C
@@ -35,13 +35,13 @@
moo/libmoo.la
- debug
+ gtk-cvs
./medit
executable
/
-
+ -n
false
false
@@ -85,21 +85,21 @@
- --enable-debug=full --enable-all-gcc-warnings=fatal --enable-developer-mode --disable-moo-module --without-python --without-mooterm --without-mooapp
- build/gtk-cvs
+ --enable-debug --enable-all-gcc-warnings --prefix=/usr/local/gtk
+ /home/muntyan/projects/gtk/build/moo
kdevgccoptions
kdevgppoptions
kdevg77options
-O0 -g3
-O0 -g3
-
-
-
-
-
-
-
+
+
+
+
+
+
+
--enable-all-gcc-warnings --enable-printing
@@ -221,15 +221,15 @@
-
- --g-fatal-warnings
+
+ --g-fatal-warnings -n
true
false
true
-
-
-
-
+
+
+
+
true
@@ -327,7 +327,7 @@
-
+
set
m_,_
theValue
diff --git a/moo/mooutils/moofileview/moobookmarkmgr.c b/moo/mooutils/moofileview/moobookmarkmgr.c
index b086633d..e6d74ccf 100644
--- a/moo/mooutils/moofileview/moobookmarkmgr.c
+++ b/moo/mooutils/moofileview/moobookmarkmgr.c
@@ -841,7 +841,7 @@ _moo_bookmark_mgr_get_editor (MooBookmarkMgr *mgr)
G_CALLBACK (dialog_show), mgr);
mgr->priv->editor = dialog;
- gtk_object_sink (GTK_OBJECT (g_object_ref (dialog)));
+ gtk_object_sink (g_object_ref (dialog));
return dialog;
}
diff --git a/moo/mooutils/moofileview/moofileview.c b/moo/mooutils/moofileview/moofileview.c
index 274f01ba..40bc5907 100644
--- a/moo/mooutils/moofileview/moofileview.c
+++ b/moo/mooutils/moofileview/moofileview.c
@@ -2775,7 +2775,7 @@ fileview_set_filter (MooFileView *fileview,
if (filter)
{
const char *name;
- gtk_object_sink (GTK_OBJECT (g_object_ref (filter)));
+ gtk_object_sink (g_object_ref (filter));
name = gtk_file_filter_get_name (filter);
gtk_entry_set_text (fileview->priv->filter_entry, name);
fileview_set_use_filter (fileview, TRUE, FALSE);
@@ -3081,7 +3081,7 @@ file_view_properties_dialog (MooFileView *fileview)
if (!dialog)
{
dialog = _moo_file_props_dialog_new (GTK_WIDGET (fileview));
- gtk_object_sink (GTK_OBJECT (g_object_ref (dialog)));
+ gtk_object_sink (g_object_ref (dialog));
g_object_set_data_full (G_OBJECT (fileview),
"moo-file-view-properties-dialog",
dialog, g_object_unref);
@@ -3163,7 +3163,7 @@ do_popup (MooFileView *fileview,
MOO_UI_MENU, "MooFileView/Menu",
fileview->priv->actions,
NULL);
- gtk_object_sink (GTK_OBJECT (g_object_ref (menu)));
+ gtk_object_sink (g_object_ref (menu));
g_signal_connect (menu, "deactivate", G_CALLBACK (destroy_menu), NULL);
_moo_file_view_tools_check (fileview);
@@ -3394,7 +3394,7 @@ edit_bookmarks (MooFileView *fileview)
if (!dialog)
{
dialog = _moo_bookmark_mgr_get_editor (fileview->priv->bookmark_mgr);
- gtk_object_sink (GTK_OBJECT (g_object_ref (dialog)));
+ gtk_object_sink (g_object_ref (dialog));
g_object_set_data_full (G_OBJECT (fileview),
"moo-file-view-bookmarks-editor",
dialog, g_object_unref);
diff --git a/moo/mooutils/moofiltermgr.c b/moo/mooutils/moofiltermgr.c
index 1fa05fc0..1e1ce3fb 100644
--- a/moo/mooutils/moofiltermgr.c
+++ b/moo/mooutils/moofiltermgr.c
@@ -816,13 +816,13 @@ filter_new (const char *description,
filter->user = user;
filter->filter = gtk_file_filter_new ();
- gtk_object_sink (GTK_OBJECT (g_object_ref (filter->filter)));
+ gtk_object_sink (g_object_ref (filter->filter));
gtk_file_filter_set_name (filter->filter, description);
if (negative)
{
filter->aux = gtk_file_filter_new ();
- gtk_object_sink (GTK_OBJECT (g_object_ref (filter->aux)));
+ gtk_object_sink (g_object_ref (filter->aux));
for (p = globs; *p != NULL; p++)
gtk_file_filter_add_pattern (filter->aux, *p);
diff --git a/moo/mooutils/moopaned.c b/moo/mooutils/moopaned.c
index 37c941ca..b60fac30 100644
--- a/moo/mooutils/moopaned.c
+++ b/moo/mooutils/moopaned.c
@@ -531,7 +531,7 @@ moo_paned_constructor (GType type,
break;
}
- gtk_object_sink (GTK_OBJECT (g_object_ref (paned->button_box)));
+ gtk_object_sink (g_object_ref (paned->button_box));
gtk_widget_set_parent (paned->button_box, GTK_WIDGET (paned));
gtk_widget_show (paned->button_box);
g_signal_connect_swapped (paned->button_box, "notify::visible",
@@ -2455,7 +2455,7 @@ int moo_paned_insert_pane (MooPaned *paned,
pane = pane_new (pane_label);
pane->frame = create_frame_widget (paned, pane, TRUE);
- gtk_object_sink (GTK_OBJECT (g_object_ref (pane->frame)));
+ gtk_object_sink (g_object_ref (pane->frame));
if (GTK_WIDGET_REALIZED (paned))
gtk_widget_set_parent_window (pane->frame,