[gnome-panel] rename nothing.{cP, h} to free-the-fish.{c, h} and fix build



commit da475867c25bb833670b416051843d417ee108ab
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} and fix build

 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/main.c                          |    2 --
 gnome-panel/panel-context-menu.c            |    2 +-
 gnome-panel/panel-run-dialog.c              |    2 +-
 6 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/gnome-panel/Makefile.am b/gnome-panel/Makefile.am
index 912c146..1990355 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 b75abdc..fa998a9 100644
--- a/gnome-panel/nothing.cP
+++ b/gnome-panel/free-the-fish.c
@@ -1,6 +1,8 @@
+#include <gtk/gtk.h>
 #include <X11/Xlib.h>
+#include <string.h>
 
-#include "nothing.h"
+#include "free-the-fish.h"
 
 /* phish code */
 #define PHSHFRAMES 8
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..de6c10d 100644
--- a/gnome-panel/nothing.h
+++ b/gnome-panel/free-the-fish.h
@@ -1,6 +1,8 @@
 #ifndef NOTHING_H
 #define NOTHING_H
 
+#include <glib.h>
+
 G_BEGIN_DECLS
 
 void start_screen_check (void);
diff --git a/gnome-panel/main.c b/gnome-panel/main.c
index cd39636..4cbf604 100644
--- a/gnome-panel/main.c
+++ b/gnome-panel/main.c
@@ -25,8 +25,6 @@
 #include "panel-layout.h"
 #include "xstuff.h"
 
-#include "nothing.cP"
-
 /* globals */
 GSList *panels = NULL;
 GSList *panel_list = NULL;
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]