summaryrefslogtreecommitdiff
path: root/gweather/gweather-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'gweather/gweather-dialog.c')
-rw-r--r--gweather/gweather-dialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gweather/gweather-dialog.c b/gweather/gweather-dialog.c
index 4f3ef9077..92c9bb63f 100644
--- a/gweather/gweather-dialog.c
+++ b/gweather/gweather-dialog.c
@@ -19,7 +19,6 @@
#include <assert.h>
#include <gconf/gconf-client.h>
-#include <gnome.h>
#define GWEATHER_I_KNOW_THIS_IS_UNSTABLE
@@ -137,7 +136,10 @@ static void
link_cb (GtkButton *button,
gpointer data)
{
- gnome_url_show("http://www.weather.com/", NULL);
+ gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (button)),
+ "http://www.weather.com/",
+ gtk_get_current_event_time (),
+ NULL);
}
static gchar*