aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ephy-statusbar.c1
-rw-r--r--src/popup-commands.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c
index 89e600e91..e5ed179e7 100755
--- a/src/ephy-statusbar.c
+++ b/src/ephy-statusbar.c
@@ -92,6 +92,7 @@ ephy_statusbar_get_type (void)
return type;
}
+/* FIXME: remove this hack once gtk bug #372452 is fixed! */
static void
ephy_statusbar_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
diff --git a/src/popup-commands.c b/src/popup-commands.c
index d101a892d..7043f6496 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -451,6 +451,7 @@ popup_cmd_open_image (GtkAction *action,
address = g_value_get_string (value);
scheme = gnome_vfs_get_uri_scheme (address);
+ if (scheme == NULL) return;
if (strcmp (scheme, "file") == 0)
{