aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/PromptService.cpp4
-rw-r--r--embed/mozilla/mozilla-embed-persist.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/embed/mozilla/PromptService.cpp b/embed/mozilla/PromptService.cpp
index c9244dd32..9b3aefc63 100644
--- a/embed/mozilla/PromptService.cpp
+++ b/embed/mozilla/PromptService.cpp
@@ -227,8 +227,6 @@ NS_IMETHODIMP CPromptService::AddButton (GtkWidget *dialog,
const char *btitle;
const nsACString &utf8string = NS_ConvertUCS2toUTF8 (title);
- g_print ("%d", type);
-
switch (type)
{
case BUTTON_TITLE_OK:
@@ -715,7 +713,7 @@ set_check_button_size_to_label (GtkWidget *check_button,
if (r.width <= label_r.width) return;
- gtk_widget_set_size_request (label, r.width, 0);
+ gtk_widget_set_size_request (label, r.width, -1);
}
/**
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp
index abfcacd57..c0c8cb06e 100644
--- a/embed/mozilla/mozilla-embed-persist.cpp
+++ b/embed/mozilla/mozilla-embed-persist.cpp
@@ -167,7 +167,7 @@ impl_save (EphyEmbedPersist *persist)
if (embed)
{
- wrapper = (EphyWrapper *) mozilla_embed_get_galeon_wrapper (MOZILLA_EMBED(embed));
+ wrapper = (EphyWrapper *) mozilla_embed_get_galeon_wrapper (MOZILLA_EMBED(embed));
wrapper->GetDOMWindow (getter_AddRefs (parent));
}