[gtranslator] Build plugin-system/ dir with GSEAL
- From: Jonh Wendell <jwendell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Build plugin-system/ dir with GSEAL
- Date: Mon, 16 Aug 2010 13:21:03 +0000 (UTC)
commit 5ce0f62768d6444288131dd4cad5319a5bf598c3
Author: Jonh Wendell <jwendell gnome org>
Date: Sat Aug 14 12:06:05 2010 -0300
Build plugin-system/ dir with GSEAL
src/plugin-system/gtr-plugins-engine.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/plugin-system/gtr-plugins-engine.c b/src/plugin-system/gtr-plugins-engine.c
index b614ab1..86f2188 100644
--- a/src/plugin-system/gtr-plugins-engine.c
+++ b/src/plugin-system/gtr-plugins-engine.c
@@ -584,13 +584,8 @@ gtr_plugins_engine_configure_plugin (GtrPluginsEngine *
g_return_if_fail (conf_dlg != NULL);
gtk_window_set_transient_for (GTK_WINDOW (conf_dlg), parent);
- wg = parent->group;
- if (wg == NULL)
- {
- wg = gtk_window_group_new ();
- gtk_window_group_add_window (wg, parent);
- }
-
+ wg = gtk_window_get_group (parent);
+ gtk_window_group_add_window (wg, parent);
gtk_window_group_add_window (wg, GTK_WINDOW (conf_dlg));
gtk_window_set_modal (GTK_WINDOW (conf_dlg), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]