diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-18 19:45:17 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-18 19:45:17 +0200 |
commit | 20866820dcc028d2cc5a40da9b30bcbb06e08ceb (patch) | |
tree | 96a186069988de994a2506e6aa190cbcb7316b06 | |
parent | fab0e77243dee005fe0ec979d69f639fdc7dac22 (diff) |
fixed minor vala .h issue
-rw-r--r-- | plugins/gtkui/ddbequalizer.c | 1 | ||||
-rw-r--r-- | plugins/gtkui/ddbseekbar.c | 3 | ||||
-rw-r--r-- | plugins/gtkui/gtkui.vapi | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/plugins/gtkui/ddbequalizer.c b/plugins/gtkui/ddbequalizer.c index 8bbd8dc3..1bc3c3df 100644 --- a/plugins/gtkui/ddbequalizer.c +++ b/plugins/gtkui/ddbequalizer.c @@ -28,6 +28,7 @@ #include <float.h> #include <math.h> #include <gdk/gdk.h> +#include <gtkui.h> #include <drawing.h> #include <pango/pango.h> diff --git a/plugins/gtkui/ddbseekbar.c b/plugins/gtkui/ddbseekbar.c index 1d173c3f..d70ebc05 100644 --- a/plugins/gtkui/ddbseekbar.c +++ b/plugins/gtkui/ddbseekbar.c @@ -23,8 +23,9 @@ #include <glib.h> #include <glib-object.h> #include <gtk/gtk.h> -#include <gtkui.h> #include <gdk/gdk.h> +#include <gtkui.h> +#include <drawing.h> #define DDB_TYPE_SEEKBAR (ddb_seekbar_get_type ()) diff --git a/plugins/gtkui/gtkui.vapi b/plugins/gtkui/gtkui.vapi index 7ad5e312..59886a55 100644 --- a/plugins/gtkui/gtkui.vapi +++ b/plugins/gtkui/gtkui.vapi @@ -1,11 +1,11 @@ +[CCode (cheader_filename = "gtkui.h")] +[CCode (cheader_filename = "drawing.h")] [CCode (cprefix = "Gtkui", lower_case_cprefix = "gtkui_")] namespace Gtkui { - [CCode (cheader_filename = "drawing.h")] public static unowned Gdk.Color get_bar_foreground_color (); public static unowned Gdk.Color get_bar_background_color (); public static unowned void init_theme_colors (); } -[CCode (cheader_filename = "gtkui.h")] public static unowned void seekbar_draw(Gtk.Widget *widget); public static unowned bool on_seekbar_button_press_event(Gtk.Widget widget, Gdk.EventButton event); public static unowned bool on_seekbar_button_release_event(Gtk.Widget widget, Gdk.EventButton event); |