aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-10-31 07:14:00 +0800
committerChristian Persch <chpe@src.gnome.org>2005-10-31 07:14:00 +0800
commit1ff25e7c76cafd5abae29b7e7c058cee3f2f2299 (patch)
treec6551ba78e0f05700a7f1ad768d0b4b1cf1d0793 /embed/mozilla
parent362396c2bf69c659b5fcea2eaf3ed17b6ff93b09 (diff)
downloadgsoc2013-epiphany-1ff25e7c76cafd5abae29b7e7c058cee3f2f2299.tar
gsoc2013-epiphany-1ff25e7c76cafd5abae29b7e7c058cee3f2f2299.tar.gz
gsoc2013-epiphany-1ff25e7c76cafd5abae29b7e7c058cee3f2f2299.tar.bz2
gsoc2013-epiphany-1ff25e7c76cafd5abae29b7e7c058cee3f2f2299.tar.lz
gsoc2013-epiphany-1ff25e7c76cafd5abae29b7e7c058cee3f2f2299.tar.xz
gsoc2013-epiphany-1ff25e7c76cafd5abae29b7e7c058cee3f2f2299.tar.zst
gsoc2013-epiphany-1ff25e7c76cafd5abae29b7e7c058cee3f2f2299.zip
R lib/ephy-glade.c: R lib/ephy-glade.h:
2005-10-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: * lib/Makefile.am: * lib/ephy-dialog.c: (impl_construct): R lib/ephy-glade.c: R lib/ephy-glade.h: Remove ephy-glade since we don't need autoconnect anymore.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/GtkNSSDialogs.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/embed/mozilla/GtkNSSDialogs.cpp b/embed/mozilla/GtkNSSDialogs.cpp
index 44b6897e2..95844b920 100644
--- a/embed/mozilla/GtkNSSDialogs.cpp
+++ b/embed/mozilla/GtkNSSDialogs.cpp
@@ -50,7 +50,7 @@
#include <nsEmbedString.h>
#define MOZILLA_INTERNAL_API 1
-#include <gconf/gconf-client.h>
+#include <glib/gi18n.h>
#include <gtk/gtkdialog.h>
#include <gtk/gtkstock.h>
#include <gtk/gtkcheckbutton.h>
@@ -72,12 +72,13 @@
#include <gtk/gtktextbuffer.h>
#include <gtk/gtktextview.h>
#include <gtk/gtkprogressbar.h>
-#include <glib/gi18n.h>
+#include <gtk/gtksizegroup.h>
+#include <glade/glade-xml.h>
+#include <gconf/gconf-client.h>
#include <time.h>
#include "GtkNSSDialogs.h"
#include "ephy-file-helpers.h"
-#include "ephy-glade.h"
#include "ephy-gui.h"
NS_DEFINE_CID (kX509CertCID, NS_IX509CERT_IID);
@@ -1299,9 +1300,12 @@ GtkNSSDialogs::ViewCert(nsIInterfaceRequestor *ctx,
PRUnichar ** usage;
GtkSizeGroup * sizegroup;
- gxml = ephy_glade_widget_new (ephy_file ("certificate-dialogs.glade"),
- "viewcert_dialog",
- &dialog, NULL, NULL);
+ gxml = glade_xml_new (ephy_file ("certificate-dialogs.glade"),
+ "viewcert_dialog", NULL);
+ g_return_val_if_fail (gxml != NULL, NS_ERROR_FAILURE);
+
+ dialog = glade_xml_get_widget (gxml, "viewcert_dialog");
+ g_return_val_if_fail (dialog != NULL, NS_ERROR_FAILURE);
nsCOMPtr<nsIDOMWindow> parent = do_GetInterface (ctx);
GtkWindow *gparent = GTK_WINDOW (EphyUtils::FindGtkParent (parent));