aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-15 04:19:26 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-15 04:19:26 +0800
commit3be3c9494b2aa680b3ca5e27752e62d0619e9da7 (patch)
treeb65ad2698c2ec0d14b55e1023b2bf56572c8c0c5 /e-util
parentfcdb82a93ae7cd8ef6bc7252f77b8af8afb98b13 (diff)
downloadgsoc2013-evolution-3be3c9494b2aa680b3ca5e27752e62d0619e9da7.tar
gsoc2013-evolution-3be3c9494b2aa680b3ca5e27752e62d0619e9da7.tar.gz
gsoc2013-evolution-3be3c9494b2aa680b3ca5e27752e62d0619e9da7.tar.bz2
gsoc2013-evolution-3be3c9494b2aa680b3ca5e27752e62d0619e9da7.tar.lz
gsoc2013-evolution-3be3c9494b2aa680b3ca5e27752e62d0619e9da7.tar.xz
gsoc2013-evolution-3be3c9494b2aa680b3ca5e27752e62d0619e9da7.tar.zst
gsoc2013-evolution-3be3c9494b2aa680b3ca5e27752e62d0619e9da7.zip
Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove the
* e-dialog-utils.c: Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove the BonoboWidget handling stuff (it doesn't really work anyways). * e-shell-view.c: Do not #include "e-bonobo-widget.h". * Makefile.am (widgetsinclude_HEADERS): Ooops, remove e-bonobo-widget.h. (libemiscwidgets_a_SOURCES): Likewise, remove e-bonobo-widget.c. svn path=/trunk/; revision=19460
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog6
-rw-r--r--e-util/e-dialog-utils.c13
2 files changed, 13 insertions, 6 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 11175f8e88..58dcd79912 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,5 +1,11 @@
2003-01-14 Ettore Perazzoli <ettore@ximian.com>
+ * e-dialog-utils.c: Do not #include <e-bonobo-widget.h>.
+ (e_set_dialog_parent): Remove the BonoboWidget handling stuff (it
+ doesn't really work anyways).
+
+2003-01-14 Ettore Perazzoli <ettore@ximian.com>
+
* Makefile.am (eutilinclude_HEADERS): Add e-dialog-utils.h.
2003-01-09 Chris Toshok <toshok@ximian.com>
diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c
index c4b36dc17a..2a4a3bb07d 100644
--- a/e-util/e-dialog-utils.c
+++ b/e-util/e-dialog-utils.c
@@ -24,8 +24,6 @@
#include "e-dialog-utils.h"
-#include "widgets/misc/e-bonobo-widget.h"
-
#include <glib.h>
#include <gdk/gdkx.h>
#include <gdk/gdkprivate.h>
@@ -123,11 +121,7 @@ void
e_set_dialog_parent (GtkWindow *dialog,
GtkWidget *parent_widget)
{
- Bonobo_PropertyBag property_bag;
GtkWidget *toplevel;
- GdkWindow *gdk_window;
- CORBA_char *id;
- guint32 xid;
g_return_if_fail (dialog != NULL);
g_return_if_fail (GTK_IS_WINDOW (dialog));
@@ -144,6 +138,12 @@ e_set_dialog_parent (GtkWindow *dialog,
return;
}
+#if 0
+ Bonobo_PropertyBag property_bag;
+ GdkWindow *gdk_window;
+ CORBA_char *id;
+ guint32 xid;
+
property_bag = bonobo_control_get_ambient_properties (BONOBO_CONTROL (toplevel), NULL);
if (property_bag == CORBA_OBJECT_NIL)
return;
@@ -156,6 +156,7 @@ e_set_dialog_parent (GtkWindow *dialog,
gdk_window = gdk_window_foreign_new (xid);
set_transient_for_gdk (dialog, gdk_window);
+#endif
}
/**