summaryrefslogtreecommitdiff
path: root/drivemount/drive-button.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-08 11:27:17 +0200
committerraveit65 <[email protected]>2020-04-25 18:02:31 +0200
commit47928c3969e56bbfed6755a79096e48e61c36454 (patch)
tree4bfdfd68b00f35d6c865c37eec5a82d214c95d67 /drivemount/drive-button.c
parentd4b0c38f8292c7a10b9c126a1fa540f5733145b6 (diff)
downloadmate-applets-47928c3969e56bbfed6755a79096e48e61c36454.tar.bz2
mate-applets-47928c3969e56bbfed6755a79096e48e61c36454.tar.xz
Remove unused-function warnings
Diffstat (limited to 'drivemount/drive-button.c')
-rw-r--r--drivemount/drive-button.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/drivemount/drive-button.c b/drivemount/drive-button.c
index 7278c7c2..59d8c86d 100644
--- a/drivemount/drive-button.c
+++ b/drivemount/drive-button.c
@@ -153,36 +153,6 @@ drive_button_dispose (GObject *object)
(* G_OBJECT_CLASS (drive_button_parent_class)->dispose) (object);
}
-#if 0
-static void
-drive_button_unrealize (GtkWidget *widget)
-{
- DriveButton *self = DRIVE_BUTTON (widget);
-
- drive_button_reset_popup (self);
-
- if (GTK_WIDGET_CLASS (drive_button_parent_class)->unrealize)
- (* GTK_WIDGET_CLASS (drive_button_parent_class)->unrealize) (widget);
-}
-#endif /* 0 */
-
-static int
-_gtk_get_monitor_num (GdkMonitor *monitor)
-{
- GdkDisplay *display;
- int n_monitors, i;
-
- display = gdk_monitor_get_display(monitor);
- n_monitors = gdk_display_get_n_monitors(display);
-
- for(i = 0; i < n_monitors; i++)
- {
- if(gdk_display_get_monitor(display, i) == monitor) return i;
- }
-
- return -1;
-}
-
static gboolean
drive_button_button_press (GtkWidget *widget,
GdkEventButton *event)