Skip to content
Browse files

Remove unused screen variable in fish applet

  • Loading branch information...
wmww authored and lukefromdc committed Jan 7, 2019
1 parent e7ed982 commit c4b2b333fd048e11c32bbb432686d9e3b6835f53
Showing with 0 additions and 3 deletions.
  1. +0 −3 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);

0 comments on commit c4b2b33

Please sign in to comment.
You can’t perform that action at this time.