[gnome-panel/wip/free-the-fish: 4/9] Free-the-fish: Rename function to free_the_fish()
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip/free-the-fish: 4/9] Free-the-fish: Rename function to free_the_fish()
- Date: Tue, 2 Jun 2015 13:00:20 +0000 (UTC)
commit b1fa6fd5c2c090792cce812f7c9ebc2b343431a7
Author: Sebastian Geiger <sbastig gmx net>
Date: Tue Jun 2 14:16:50 2015 +0200
Free-the-fish: Rename function to free_the_fish()
gnome-panel/free-the-fish.c | 2 +-
gnome-panel/free-the-fish.h | 6 +++++-
gnome-panel/panel-context-menu.c | 2 +-
gnome-panel/panel-run-dialog.c | 2 +-
4 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/gnome-panel/free-the-fish.c b/gnome-panel/free-the-fish.c
index 1cfaf86..373c4b3 100644
--- a/gnome-panel/free-the-fish.c
+++ b/gnome-panel/free-the-fish.c
@@ -377,7 +377,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..841f990 100644
--- a/gnome-panel/free-the-fish.h
+++ b/gnome-panel/free-the-fish.h
@@ -5,7 +5,11 @@
G_BEGIN_DECLS
-void start_screen_check (void);
+/**
+ * This will free our little fish. A fish will be drawn on the screen, that will keep swimming
+ * around until it is stopped.
+ */
+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..8819c95 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..4f07710 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]