summaryrefslogtreecommitdiff
path: root/applets/fish
diff options
context:
space:
mode:
Diffstat (limited to 'applets/fish')
-rw-r--r--applets/fish/fish.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index 71d9b540..3eb41cef 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -836,7 +836,6 @@ static void display_fortune_dialog(FishApplet* fish)
if (!fish->fortune_dialog) {
GtkWidget *scrolled;
GtkWidget *vbox;
- GdkScreen *screen;
GdkMonitor *monitor;
GdkRectangle monitor_geom;
@@ -862,8 +861,6 @@ static void display_fortune_dialog(FishApplet* fish)
g_signal_connect (fish->fortune_dialog, "response",
G_CALLBACK (handle_fortune_response), fish);
- screen = gtk_widget_get_screen (GTK_WIDGET (fish));
-
monitor = gdk_display_get_monitor_at_window (gtk_widget_get_display (GTK_WIDGET (fish)),
gtk_widget_get_window (GTK_WIDGET (fish)));
gdk_monitor_get_geometry(monitor, &monitor_geom);