[gnome-panel/wip/free-the-fish: 3/8] Free-the-fish: Fix import and build system



commit fbb3c3a8e937c5ac41a65b8161c73f96662a2a4a
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Jun 2 16:13:09 2015 +0200

    Free-the-fish: Fix import and build system

 gnome-panel/Makefile.am                           |    4 ++--
 gnome-panel/{free-the-fish.cP => free-the-fish.c} |    3 ++-
 gnome-panel/free-the-fish.h                       |    2 ++
 3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gnome-panel/Makefile.am b/gnome-panel/Makefile.am
index cf7a852..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        \
-       free-the-fish.cP                        \
-       free-the-fish.h                         \
        panel-marshal.list                      \
        $(desktop_in_files)
 
diff --git a/gnome-panel/free-the-fish.cP b/gnome-panel/free-the-fish.c
similarity index 99%
rename from gnome-panel/free-the-fish.cP
rename to gnome-panel/free-the-fish.c
index 7ababc2..233b9ae 100644
--- a/gnome-panel/free-the-fish.cP
+++ b/gnome-panel/free-the-fish.c
@@ -1,4 +1,5 @@
-#include <X11/Xlib.h>
+#include <gtk/gtk.h>
+#include <string.h>
 
 #include "free-the-fish.h"
 
diff --git a/gnome-panel/free-the-fish.h b/gnome-panel/free-the-fish.h
index 0539152..2b9d9c3 100644
--- a/gnome-panel/free-the-fish.h
+++ b/gnome-panel/free-the-fish.h
@@ -1,3 +1,5 @@
+#include <glib.h>
+
 #ifndef NOTHING_H
 #define NOTHING_H
 


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