Little cleanup
This commit is contained in:
parent
9ab44dd1b0
commit
03b69885ed
38
moo.kdevelop
38
moo.kdevelop
@ -26,7 +26,7 @@
|
|||||||
</ignoreparts>
|
</ignoreparts>
|
||||||
<projectdirectory>.</projectdirectory>
|
<projectdirectory>.</projectdirectory>
|
||||||
<absoluteprojectpath>false</absoluteprojectpath>
|
<absoluteprojectpath>false</absoluteprojectpath>
|
||||||
<description/>
|
<description></description>
|
||||||
<secondaryLanguages>
|
<secondaryLanguages>
|
||||||
<language>C</language>
|
<language>C</language>
|
||||||
</secondaryLanguages>
|
</secondaryLanguages>
|
||||||
@ -35,13 +35,13 @@
|
|||||||
<kdevautoproject>
|
<kdevautoproject>
|
||||||
<general>
|
<general>
|
||||||
<activetarget>moo/libmoo.la</activetarget>
|
<activetarget>moo/libmoo.la</activetarget>
|
||||||
<useconfiguration>debug</useconfiguration>
|
<useconfiguration>gtk-cvs</useconfiguration>
|
||||||
</general>
|
</general>
|
||||||
<run>
|
<run>
|
||||||
<mainprogram>./medit</mainprogram>
|
<mainprogram>./medit</mainprogram>
|
||||||
<directoryradio>executable</directoryradio>
|
<directoryradio>executable</directoryradio>
|
||||||
<customdirectory>/</customdirectory>
|
<customdirectory>/</customdirectory>
|
||||||
<programargs/>
|
<programargs>-n</programargs>
|
||||||
<terminal>false</terminal>
|
<terminal>false</terminal>
|
||||||
<autocompile>false</autocompile>
|
<autocompile>false</autocompile>
|
||||||
<envvars/>
|
<envvars/>
|
||||||
@ -85,21 +85,21 @@
|
|||||||
<f77flags/>
|
<f77flags/>
|
||||||
</gtk-print>
|
</gtk-print>
|
||||||
<gtk-cvs>
|
<gtk-cvs>
|
||||||
<configargs>--enable-debug=full --enable-all-gcc-warnings=fatal --enable-developer-mode --disable-moo-module --without-python --without-mooterm --without-mooapp</configargs>
|
<configargs>--enable-debug --enable-all-gcc-warnings --prefix=/usr/local/gtk</configargs>
|
||||||
<builddir>build/gtk-cvs</builddir>
|
<builddir>/home/muntyan/projects/gtk/build/moo</builddir>
|
||||||
<ccompiler>kdevgccoptions</ccompiler>
|
<ccompiler>kdevgccoptions</ccompiler>
|
||||||
<cxxcompiler>kdevgppoptions</cxxcompiler>
|
<cxxcompiler>kdevgppoptions</cxxcompiler>
|
||||||
<f77compiler>kdevg77options</f77compiler>
|
<f77compiler>kdevg77options</f77compiler>
|
||||||
<cflags>-O0 -g3</cflags>
|
<cflags>-O0 -g3</cflags>
|
||||||
<cxxflags>-O0 -g3</cxxflags>
|
<cxxflags>-O0 -g3</cxxflags>
|
||||||
<envvars/>
|
<envvars/>
|
||||||
<topsourcedir/>
|
<topsourcedir></topsourcedir>
|
||||||
<cppflags/>
|
<cppflags></cppflags>
|
||||||
<ldflags/>
|
<ldflags></ldflags>
|
||||||
<ccompilerbinary/>
|
<ccompilerbinary></ccompilerbinary>
|
||||||
<cxxcompilerbinary/>
|
<cxxcompilerbinary></cxxcompilerbinary>
|
||||||
<f77compilerbinary/>
|
<f77compilerbinary></f77compilerbinary>
|
||||||
<f77flags/>
|
<f77flags></f77flags>
|
||||||
</gtk-cvs>
|
</gtk-cvs>
|
||||||
<optimized>
|
<optimized>
|
||||||
<configargs> --enable-all-gcc-warnings --enable-printing</configargs>
|
<configargs> --enable-all-gcc-warnings --enable-printing</configargs>
|
||||||
@ -221,15 +221,15 @@
|
|||||||
</kdevautoproject>
|
</kdevautoproject>
|
||||||
<kdevdebugger>
|
<kdevdebugger>
|
||||||
<general>
|
<general>
|
||||||
<dbgshell/>
|
<dbgshell></dbgshell>
|
||||||
<programargs>--g-fatal-warnings</programargs>
|
<programargs>--g-fatal-warnings -n</programargs>
|
||||||
<breakonloadinglibs>true</breakonloadinglibs>
|
<breakonloadinglibs>true</breakonloadinglibs>
|
||||||
<separatetty>false</separatetty>
|
<separatetty>false</separatetty>
|
||||||
<floatingtoolbar>true</floatingtoolbar>
|
<floatingtoolbar>true</floatingtoolbar>
|
||||||
<gdbpath/>
|
<gdbpath></gdbpath>
|
||||||
<configGdbScript/>
|
<configGdbScript></configGdbScript>
|
||||||
<runShellScript/>
|
<runShellScript></runShellScript>
|
||||||
<runGdbScript/>
|
<runGdbScript></runGdbScript>
|
||||||
</general>
|
</general>
|
||||||
<display>
|
<display>
|
||||||
<staticmembers>true</staticmembers>
|
<staticmembers>true</staticmembers>
|
||||||
@ -327,7 +327,7 @@
|
|||||||
</codecompletion>
|
</codecompletion>
|
||||||
<references/>
|
<references/>
|
||||||
<creategettersetter>
|
<creategettersetter>
|
||||||
<prefixGet/>
|
<prefixGet></prefixGet>
|
||||||
<prefixSet>set</prefixSet>
|
<prefixSet>set</prefixSet>
|
||||||
<prefixVariable>m_,_</prefixVariable>
|
<prefixVariable>m_,_</prefixVariable>
|
||||||
<parameterName>theValue</parameterName>
|
<parameterName>theValue</parameterName>
|
||||||
|
@ -841,7 +841,7 @@ _moo_bookmark_mgr_get_editor (MooBookmarkMgr *mgr)
|
|||||||
G_CALLBACK (dialog_show), mgr);
|
G_CALLBACK (dialog_show), mgr);
|
||||||
|
|
||||||
mgr->priv->editor = dialog;
|
mgr->priv->editor = dialog;
|
||||||
gtk_object_sink (GTK_OBJECT (g_object_ref (dialog)));
|
gtk_object_sink (g_object_ref (dialog));
|
||||||
|
|
||||||
return dialog;
|
return dialog;
|
||||||
}
|
}
|
||||||
|
@ -2775,7 +2775,7 @@ fileview_set_filter (MooFileView *fileview,
|
|||||||
if (filter)
|
if (filter)
|
||||||
{
|
{
|
||||||
const char *name;
|
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);
|
name = gtk_file_filter_get_name (filter);
|
||||||
gtk_entry_set_text (fileview->priv->filter_entry, name);
|
gtk_entry_set_text (fileview->priv->filter_entry, name);
|
||||||
fileview_set_use_filter (fileview, TRUE, FALSE);
|
fileview_set_use_filter (fileview, TRUE, FALSE);
|
||||||
@ -3081,7 +3081,7 @@ file_view_properties_dialog (MooFileView *fileview)
|
|||||||
if (!dialog)
|
if (!dialog)
|
||||||
{
|
{
|
||||||
dialog = _moo_file_props_dialog_new (GTK_WIDGET (fileview));
|
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),
|
g_object_set_data_full (G_OBJECT (fileview),
|
||||||
"moo-file-view-properties-dialog",
|
"moo-file-view-properties-dialog",
|
||||||
dialog, g_object_unref);
|
dialog, g_object_unref);
|
||||||
@ -3163,7 +3163,7 @@ do_popup (MooFileView *fileview,
|
|||||||
MOO_UI_MENU, "MooFileView/Menu",
|
MOO_UI_MENU, "MooFileView/Menu",
|
||||||
fileview->priv->actions,
|
fileview->priv->actions,
|
||||||
NULL);
|
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);
|
g_signal_connect (menu, "deactivate", G_CALLBACK (destroy_menu), NULL);
|
||||||
|
|
||||||
_moo_file_view_tools_check (fileview);
|
_moo_file_view_tools_check (fileview);
|
||||||
@ -3394,7 +3394,7 @@ edit_bookmarks (MooFileView *fileview)
|
|||||||
if (!dialog)
|
if (!dialog)
|
||||||
{
|
{
|
||||||
dialog = _moo_bookmark_mgr_get_editor (fileview->priv->bookmark_mgr);
|
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),
|
g_object_set_data_full (G_OBJECT (fileview),
|
||||||
"moo-file-view-bookmarks-editor",
|
"moo-file-view-bookmarks-editor",
|
||||||
dialog, g_object_unref);
|
dialog, g_object_unref);
|
||||||
|
@ -816,13 +816,13 @@ filter_new (const char *description,
|
|||||||
filter->user = user;
|
filter->user = user;
|
||||||
|
|
||||||
filter->filter = gtk_file_filter_new ();
|
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);
|
gtk_file_filter_set_name (filter->filter, description);
|
||||||
|
|
||||||
if (negative)
|
if (negative)
|
||||||
{
|
{
|
||||||
filter->aux = gtk_file_filter_new ();
|
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++)
|
for (p = globs; *p != NULL; p++)
|
||||||
gtk_file_filter_add_pattern (filter->aux, *p);
|
gtk_file_filter_add_pattern (filter->aux, *p);
|
||||||
|
@ -531,7 +531,7 @@ moo_paned_constructor (GType type,
|
|||||||
break;
|
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_set_parent (paned->button_box, GTK_WIDGET (paned));
|
||||||
gtk_widget_show (paned->button_box);
|
gtk_widget_show (paned->button_box);
|
||||||
g_signal_connect_swapped (paned->button_box, "notify::visible",
|
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 = pane_new (pane_label);
|
||||||
|
|
||||||
pane->frame = create_frame_widget (paned, pane, TRUE);
|
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))
|
if (GTK_WIDGET_REALIZED (paned))
|
||||||
gtk_widget_set_parent_window (pane->frame,
|
gtk_widget_set_parent_window (pane->frame,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user