summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2019-01-07 02:29:59 -0500
committerlukefromdc <[email protected]>2019-01-07 22:28:51 +0000
commitc4b2b333fd048e11c32bbb432686d9e3b6835f53 (patch)
tree498af9888343f2ac8411f398ffc46ea3d206f321 /applets
parente7ed982eef407b1f870b0ae9fc13c62f4e937272 (diff)
downloadmate-panel-c4b2b333fd048e11c32bbb432686d9e3b6835f53.tar.bz2
mate-panel-c4b2b333fd048e11c32bbb432686d9e3b6835f53.tar.xz
Remove unused screen variable in fish applet
Diffstat (limited to 'applets')
-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);