[gnome-panel/wip/free-the-fish: 4/8] Free-the-fish: rename start_screen_check to free_the_fish



commit f421517dd3319f2b61e970f8bbcffdc36b3ed64b
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Jun 2 16:48:17 2015 +0200

    Free-the-fish: rename start_screen_check to free_the_fish

 gnome-panel/free-the-fish.c      |    2 +-
 gnome-panel/free-the-fish.h      |    2 +-
 gnome-panel/panel-context-menu.c |    2 +-
 gnome-panel/panel-run-dialog.c   |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnome-panel/free-the-fish.c b/gnome-panel/free-the-fish.c
index 233b9ae..954be7d 100644
--- a/gnome-panel/free-the-fish.c
+++ b/gnome-panel/free-the-fish.c
@@ -372,7 +372,7 @@ check_screen_timeout (gpointer data)
 }
 
 void
-start_screen_check (void)
+free_the_fish (void)
 {
         if (screen_check_id > 0)
                 g_source_remove (screen_check_id);
diff --git a/gnome-panel/free-the-fish.h b/gnome-panel/free-the-fish.h
index 2b9d9c3..6bd9c80 100644
--- a/gnome-panel/free-the-fish.h
+++ b/gnome-panel/free-the-fish.h
@@ -5,7 +5,7 @@
 
 G_BEGIN_DECLS
 
-void start_screen_check (void);
+void free_the_fish (void);
 
 G_END_DECLS
 
diff --git a/gnome-panel/panel-context-menu.c b/gnome-panel/panel-context-menu.c
index 125fbae..1529d15 100644
--- a/gnome-panel/panel-context-menu.c
+++ b/gnome-panel/panel-context-menu.c
@@ -83,7 +83,7 @@ panel_context_menu_check_for_screen (GtkWidget *w,
                times++;
                if (times == 3) {
                        times = 0;
-                       start_screen_check ();
+                       free_the_fish ();
                }
        }
        return FALSE;
diff --git a/gnome-panel/panel-run-dialog.c b/gnome-panel/panel-run-dialog.c
index 1d7fca2..7a2e34c 100644
--- a/gnome-panel/panel-run-dialog.c
+++ b/gnome-panel/panel-run-dialog.c
@@ -530,7 +530,7 @@ panel_run_dialog_execute (PanelRunDialog *dialog)
        
        /* evil eggies, do not translate! */
        if (!strcmp (command, "free the fish")) {
-               start_screen_check ();
+               free_the_fish ();
 
                g_free (command);
                gtk_widget_destroy (dialog->run_dialog);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]