Skip to content


Remove unused screen variable in fish applet
Browse files Browse the repository at this point in the history
  • Loading branch information
wmww authored and lukefromdc committed Jan 7, 2019
1 parent e7ed982 commit c4b2b33
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions applets/fish/fish.c
Expand Up @@ -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;

Expand All @@ -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);
Expand Down

0 comments on commit c4b2b33

Please sign in to comment.