vapi: fix some headers paths

This commit is contained in:
Rico Tzschichholz 2012-05-30 17:02:52 +02:00
parent d1916623c1
commit 2f24285205
3 changed files with 22 additions and 22 deletions

View File

@ -2,13 +2,13 @@
[CCode (cprefix = "GDesktop", gir_namespace = "GDesktopEnums", gir_version = "3.0", lower_case_cprefix = "g_desktop_")] [CCode (cprefix = "GDesktop", gir_namespace = "GDesktopEnums", gir_version = "3.0", lower_case_cprefix = "g_desktop_")]
namespace GDesktop { namespace GDesktop {
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_BACKGROUND_SHADING_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_BACKGROUND_SHADING_")]
public enum BackgroundShading { public enum BackgroundShading {
SOLID, SOLID,
VERTICAL, VERTICAL,
HORIZONTAL HORIZONTAL
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_BACKGROUND_STYLE_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_BACKGROUND_STYLE_")]
public enum BackgroundStyle { public enum BackgroundStyle {
NONE, NONE,
WALLPAPER, WALLPAPER,
@ -18,30 +18,30 @@ namespace GDesktop {
ZOOM, ZOOM,
SPANNED SPANNED
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_CLOCK_FORMAT_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_CLOCK_FORMAT_")]
public enum ClockFormat { public enum ClockFormat {
@24H, @24H,
@12H @12H
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_FOCUS_MODE_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_FOCUS_MODE_")]
public enum FocusMode { public enum FocusMode {
CLICK, CLICK,
SLOPPY, SLOPPY,
MOUSE MOUSE
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_FOCUS_NEW_WINDOWS_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_FOCUS_NEW_WINDOWS_")]
public enum FocusNewWindows { public enum FocusNewWindows {
SMART, SMART,
STRICT STRICT
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_MAGNIFIER_MOUSE_TRACKING_MODE_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_MAGNIFIER_MOUSE_TRACKING_MODE_")]
public enum MagnifierMouseTrackingMode { public enum MagnifierMouseTrackingMode {
NONE, NONE,
CENTERED, CENTERED,
PROPORTIONAL, PROPORTIONAL,
PUSH PUSH
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_MAGNIFIER_SCREEN_POSITION_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_MAGNIFIER_SCREEN_POSITION_")]
public enum MagnifierScreenPosition { public enum MagnifierScreenPosition {
NONE, NONE,
FULL_SCREEN, FULL_SCREEN,
@ -50,31 +50,31 @@ namespace GDesktop {
LEFT_HALF, LEFT_HALF,
RIGHT_HALF RIGHT_HALF
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_MOUSE_DWELL_DIRECTION_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_MOUSE_DWELL_DIRECTION_")]
public enum MouseDwellDirection { public enum MouseDwellDirection {
LEFT, LEFT,
RIGHT, RIGHT,
UP, UP,
DOWN DOWN
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_MOUSE_DWELL_MODE_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_MOUSE_DWELL_MODE_")]
public enum MouseDwellMode { public enum MouseDwellMode {
WINDOW, WINDOW,
GESTURE GESTURE
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_PROXY_MODE_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_PROXY_MODE_")]
public enum ProxyMode { public enum ProxyMode {
NONE, NONE,
MANUAL, MANUAL,
AUTO AUTO
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_SCREENSAVER_MODE_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_SCREENSAVER_MODE_")]
public enum ScreensaverMode { public enum ScreensaverMode {
BLANK_ONLY, BLANK_ONLY,
RANDOM, RANDOM,
SINGLE SINGLE
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_TITLEBAR_ACTION_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_TITLEBAR_ACTION_")]
public enum TitlebarAction { public enum TitlebarAction {
TOGGLE_SHADE, TOGGLE_SHADE,
TOGGLE_MAXIMIZE, TOGGLE_MAXIMIZE,
@ -85,19 +85,19 @@ namespace GDesktop {
LOWER, LOWER,
MENU MENU
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_TOOLBAR_ICON_SIZE_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_TOOLBAR_ICON_SIZE_")]
public enum ToolbarIconSize { public enum ToolbarIconSize {
SMALL, SMALL,
LARGE LARGE
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_TOOLBAR_STYLE_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_TOOLBAR_STYLE_")]
public enum ToolbarStyle { public enum ToolbarStyle {
BOTH, BOTH,
BOTH_HORIZ, BOTH_HORIZ,
ICONS, ICONS,
TEXT TEXT
} }
[CCode (cheader_filename = "GDesktopEnums-3.0.h", cprefix = "G_DESKTOP_VISUAL_BELL_")] [CCode (cheader_filename = "gsettings-desktop-schemas/gdesktop-enums.h", cprefix = "G_DESKTOP_VISUAL_BELL_")]
public enum VisualBellType { public enum VisualBellType {
FULLSCREEN_FLASH, FULLSCREEN_FLASH,
FRAME_FLASH FRAME_FLASH

View File

@ -285,9 +285,9 @@ namespace Meta {
public uint get_mask (); public uint get_mask ();
public Meta.VirtualModifier get_modifiers (); public Meta.VirtualModifier get_modifiers ();
public unowned string get_name (); public unowned string get_name ();
[CCode (cheader_filename = "meta/main.h", cname = "meta_keybindings_set_custom_handler")] [CCode (cheader_filename = "meta/keybindings.h", cname = "meta_keybindings_set_custom_handler")]
public static bool set_custom_handler (string name, owned Meta.KeyHandlerFunc handler); public static bool set_custom_handler (string name, owned Meta.KeyHandlerFunc handler);
[CCode (cheader_filename = "meta/main.h", cname = "meta_keybindings_switch_window")] [CCode (cheader_filename = "meta/keybindings.h", cname = "meta_keybindings_switch_window")]
public static void switch_window (Meta.Display display, Meta.Screen screen, Meta.Window event_window, X.Event event, Meta.KeyBinding binding); public static void switch_window (Meta.Display display, Meta.Screen screen, Meta.Window event_window, X.Event event, Meta.KeyBinding binding);
} }
[CCode (cheader_filename = "meta/main.h")] [CCode (cheader_filename = "meta/main.h")]
@ -1091,13 +1091,13 @@ namespace Meta {
DND, DND,
OVERRIDE_OTHER OVERRIDE_OTHER
} }
[CCode (cheader_filename = "meta/main.h", instance_pos = 5.9)] [CCode (cheader_filename = "meta/prefs.h", instance_pos = 5.9)]
public delegate void KeyHandlerFunc (Meta.Display display, Meta.Screen screen, Meta.Window? window, void* event, Meta.KeyBinding binding); public delegate void KeyHandlerFunc (Meta.Display display, Meta.Screen screen, Meta.Window? window, void* event, Meta.KeyBinding binding);
[CCode (cheader_filename = "meta/main.h", has_target = false)] [CCode (cheader_filename = "meta/prefs.h", has_target = false)]
public delegate void PrefsChangedFunc (Meta.Preference pref, void* data); public delegate void PrefsChangedFunc (Meta.Preference pref, void* data);
[CCode (cheader_filename = "meta/main.h", has_target = false)] [CCode (cheader_filename = "meta/window.h", has_target = false)]
public delegate bool WindowForeachFunc (Meta.Window window, void* data); public delegate bool WindowForeachFunc (Meta.Window window, void* data);
[CCode (cheader_filename = "meta/main.h", has_target = false)] [CCode (cheader_filename = "meta/common.h", has_target = false)]
public delegate void WindowMenuFunc (Meta.WindowMenu menu, X.Display xdisplay, X.Window client_xwindow, uint32 timestamp, Meta.MenuOp op, int workspace, void* data); public delegate void WindowMenuFunc (Meta.WindowMenu menu, X.Display xdisplay, X.Window client_xwindow, uint32 timestamp, Meta.MenuOp op, int workspace, void* data);
[CCode (cheader_filename = "meta/main.h", cname = "META_DEFAULT_ICON_NAME")] [CCode (cheader_filename = "meta/main.h", cname = "META_DEFAULT_ICON_NAME")]
public const string DEFAULT_ICON_NAME; public const string DEFAULT_ICON_NAME;

View File

@ -2,7 +2,7 @@
[CCode (cprefix = "X", gir_namespace = "xfixes", gir_version = "4.0", lower_case_cprefix = "X_")] [CCode (cprefix = "X", gir_namespace = "xfixes", gir_version = "4.0", lower_case_cprefix = "X_")]
namespace X { namespace X {
[CCode (cheader_filename = "xfixes-4.0.h", cname = "XserverRegion", has_type_id = false)] [CCode (cheader_filename = "X11/extensions/Xfixes.h", cname = "XserverRegion", has_type_id = false)]
public struct XserverRegion { public struct XserverRegion {
} }
} }