[gnome-panel/wip/free-the-fish: 3/9] Rename nothing.{cP, h} to free-the-fish.{c, h}



commit 01296d16efebf1e3e26c6939c5b656818b3d7e9b
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Jun 2 12:21:31 2015 +0200

    Rename nothing.{cP,h} to free-the-fish.{c,h}

 gnome-panel/Makefile.am                     |    4 ++--
 gnome-panel/{nothing.cP => free-the-fish.c} |    4 ++--
 gnome-panel/{nothing.h => free-the-fish.h}  |    2 ++
 gnome-panel/panel-context-menu.c            |    2 +-
 gnome-panel/panel-run-dialog.c              |    2 +-
 5 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/gnome-panel/Makefile.am b/gnome-panel/Makefile.am
index 912c146..7901657 100644
--- a/gnome-panel/Makefile.am
+++ b/gnome-panel/Makefile.am
@@ -23,6 +23,7 @@ panel_sources =                       \
        panel-widget.c          \
        button-widget.c         \
        xstuff.c                \
+       free-the-fish.c \
        panel-session.c         \
        panel-compatibility.c   \
        panel.c                 \
@@ -70,6 +71,7 @@ panel_headers =                       \
        panel-globals.h         \
        button-widget.h         \
        xstuff.h                \
+       free-the-fish.h \
        panel-session.h         \
        panel-compatibility.h   \
        panel.h                 \
@@ -257,8 +259,6 @@ EXTRA_DIST =                                        \
        HighContrast.css \
        $(uitest_FILES)                         \
        panel-test-applets.gresource.xml        \
-       nothing.cP                              \
-       nothing.h                               \
        panel-marshal.list                      \
        $(desktop_in_files)
 
diff --git a/gnome-panel/nothing.cP b/gnome-panel/free-the-fish.c
similarity index 99%
rename from gnome-panel/nothing.cP
rename to gnome-panel/free-the-fish.c
index d6ab043..1cfaf86 100644
--- a/gnome-panel/nothing.cP
+++ b/gnome-panel/free-the-fish.c
@@ -1,6 +1,6 @@
 #include <X11/Xlib.h>
 
-#include "nothing.h"
+#include "free-the-fish.h"
 
 /* phish code */
 #define PHSHFRAMES 8
@@ -377,7 +377,7 @@ check_screen_timeout (gpointer data)
 }
 
 void
-start_screen_check (void)
+start_screen_check(void)
 {
         if (screen_check_id > 0)
                 g_source_remove (screen_check_id);
diff --git a/gnome-panel/nothing.h b/gnome-panel/free-the-fish.h
similarity index 84%
rename from gnome-panel/nothing.h
rename to gnome-panel/free-the-fish.h
index 0539152..2b9d9c3 100644
--- a/gnome-panel/nothing.h
+++ b/gnome-panel/free-the-fish.h
@@ -1,3 +1,5 @@
+#include <glib.h>
+
 #ifndef NOTHING_H
 #define NOTHING_H
 
diff --git a/gnome-panel/panel-context-menu.c b/gnome-panel/panel-context-menu.c
index 607788d..125fbae 100644
--- a/gnome-panel/panel-context-menu.c
+++ b/gnome-panel/panel-context-menu.c
@@ -35,7 +35,7 @@
 #include <libpanel-util/panel-error.h>
 #include <libpanel-util/panel-show.h>
 
-#include "nothing.h"
+#include "free-the-fish.h"
 #include "panel-util.h"
 #include "panel.h"
 #include "menu.h"
diff --git a/gnome-panel/panel-run-dialog.c b/gnome-panel/panel-run-dialog.c
index e76a067..1d7fca2 100644
--- a/gnome-panel/panel-run-dialog.c
+++ b/gnome-panel/panel-run-dialog.c
@@ -48,7 +48,7 @@
 #include <libpanel-util/panel-show.h>
 #include <libpanel-util/panel-xdg.h>
 
-#include "nothing.h"
+#include "free-the-fish.h"
 #include "panel-util.h"
 #include "panel-globals.h"
 #include "panel-enums.h"


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