Prefer using pragma once
Similar to what we did in mutter Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>
This commit is contained in:
parent
aa0f2c4915
commit
5cbd847c84
@ -18,8 +18,7 @@
|
||||
* Mark McLoughlin <mark@skynet.ie>
|
||||
*/
|
||||
|
||||
#ifndef __CALENDAR_DEBUG_H__
|
||||
#define __CALENDAR_DEBUG_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
@ -46,5 +45,3 @@ G_BEGIN_DECLS
|
||||
#endif /* CALENDAR_ENABLE_DEBUG */
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __CALENDAR_DEBUG_H__ */
|
||||
|
@ -21,8 +21,7 @@
|
||||
* Christian Kellner <gicmo@xatom.net>
|
||||
*/
|
||||
|
||||
#ifndef __CALENDAR_SOURCES_H__
|
||||
#define __CALENDAR_SOURCES_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
@ -60,5 +59,3 @@ void print_debug (const gchar *str,
|
||||
...) G_GNUC_PRINTF (1, 2);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __CALENDAR_SOURCES_H__ */
|
||||
|
@ -17,8 +17,7 @@
|
||||
* Author: Ryan Lortie <desrt@desrt.ca>
|
||||
*/
|
||||
|
||||
#ifndef __GTK_ACTION_MUXER_H__
|
||||
#define __GTK_ACTION_MUXER_H__
|
||||
#pragma once
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
@ -60,5 +59,3 @@ gchar * gtk_print_action_and_target (const g
|
||||
GVariant *target);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ACTION_MUXER_H__ */
|
||||
|
@ -17,8 +17,7 @@
|
||||
* Authors: Ryan Lortie <desrt@desrt.ca>
|
||||
*/
|
||||
|
||||
#ifndef __GTK_ACTION_OBSERVABLE_H__
|
||||
#define __GTK_ACTION_OBSERVABLE_H__
|
||||
#pragma once
|
||||
|
||||
#include "gtkactionobserver.h"
|
||||
|
||||
@ -56,5 +55,3 @@ void gtk_action_observable_unregister_observer (GtkActi
|
||||
GtkActionObserver *observer);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ACTION_OBSERVABLE_H__ */
|
||||
|
@ -17,8 +17,7 @@
|
||||
* Authors: Ryan Lortie <desrt@desrt.ca>
|
||||
*/
|
||||
|
||||
#ifndef __GTK_ACTION_OBSERVER_H__
|
||||
#define __GTK_ACTION_OBSERVER_H__
|
||||
#pragma once
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
@ -87,5 +86,3 @@ void gtk_action_observer_primary_accel_changed (GtkActi
|
||||
const gchar *action_and_target);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ACTION_OBSERVER_H__ */
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
|
||||
#ifndef __HOTPLUG_MIMETYPES_H__
|
||||
#define __HOTPLUG_MIMETYPES_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
@ -137,5 +136,3 @@ G_GNUC_UNUSED static const gchar *audio_mimetypes[] = {
|
||||
"audio/x-xm",
|
||||
NULL
|
||||
};
|
||||
|
||||
#endif /* __HOTPLUG_MIMETYPES_H__ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __SHELL_MIME_SNIFFER_H__
|
||||
#define __SHELL_MIME_SNIFFER_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <gio/gio.h>
|
||||
@ -42,5 +41,3 @@ gchar ** shell_mime_sniffer_sniff_finish (ShellMimeSniffer *self,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_MIME_SNIFFER_H__ */
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_APP_CACHE_PRIVATE_H__
|
||||
#define __SHELL_APP_CACHE_PRIVATE_H__
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <gio/gdesktopappinfo.h>
|
||||
@ -15,5 +15,3 @@ GDesktopAppInfo *shell_app_cache_get_info (ShellAppCache *cache,
|
||||
const char *id);
|
||||
char *shell_app_cache_translate_folder (ShellAppCache *cache,
|
||||
const char *name);
|
||||
|
||||
#endif /* __SHELL_APP_CACHE_PRIVATE_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_APP_PRIVATE_H__
|
||||
#define __SHELL_APP_PRIVATE_H__
|
||||
#pragma once
|
||||
|
||||
#include "shell-app.h"
|
||||
#include "shell-app-system.h"
|
||||
@ -20,5 +19,3 @@ void _shell_app_add_window (ShellApp *app, MetaWindow *window);
|
||||
void _shell_app_remove_window (ShellApp *app, MetaWindow *window);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_APP_PRIVATE_H__ */
|
||||
|
@ -1,9 +1,6 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_APP_SYSTEM_PRIVATE_H__
|
||||
#define __SHELL_APP_SYSTEM_PRIVATE_H__
|
||||
#pragma once
|
||||
|
||||
#include "shell-app-system.h"
|
||||
|
||||
void _shell_app_system_notify_app_state_changed (ShellAppSystem *self, ShellApp *app);
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_APP_SYSTEM_H__
|
||||
#define __SHELL_APP_SYSTEM_H__
|
||||
#pragma once
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <clutter/clutter.h>
|
||||
@ -28,5 +27,3 @@ GSList *shell_app_system_get_running (ShellAppSystem *sel
|
||||
char ***shell_app_system_search (const char *search_string);
|
||||
|
||||
GList *shell_app_system_get_installed (ShellAppSystem *self);
|
||||
|
||||
#endif /* __SHELL_APP_SYSTEM_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_APP_USAGE_H__
|
||||
#define __SHELL_APP_USAGE_H__
|
||||
#pragma once
|
||||
|
||||
#include "shell-app.h"
|
||||
#include "shell-window-tracker.h"
|
||||
@ -19,5 +18,3 @@ int shell_app_usage_compare (ShellAppUsage *self,
|
||||
const char *id_b);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_APP_USAGE_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_APP_H__
|
||||
#define __SHELL_APP_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
#include <gio/gio.h>
|
||||
@ -92,5 +91,3 @@ void shell_app_update_app_actions (ShellApp *app, MetaWindow *window);
|
||||
gboolean shell_app_get_busy (ShellApp *app);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_APP_H__ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __SHELL_CAMERA_MONITOR_H__
|
||||
#define __SHELL_CAMERA_MONITOR_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
@ -31,5 +30,3 @@ G_DECLARE_FINAL_TYPE (ShellCameraMonitor, shell_camera_monitor,
|
||||
SHELL, CAMERA_MONITOR, GObject)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_CAMERA_MONITOR_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_GLOBAL_PRIVATE_H__
|
||||
#define __SHELL_GLOBAL_PRIVATE_H__
|
||||
#pragma once
|
||||
|
||||
#include "shell-global.h"
|
||||
|
||||
@ -22,5 +21,3 @@ ShellAppCache * shell_global_get_app_cache (ShellGlobal *global);
|
||||
void _shell_global_locate_pointer (ShellGlobal *global);
|
||||
|
||||
void _shell_global_notify_shutdown (ShellGlobal *global);
|
||||
|
||||
#endif /* __SHELL_GLOBAL_PRIVATE_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_GLOBAL_H__
|
||||
#define __SHELL_GLOBAL_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
#include <glib-object.h>
|
||||
@ -100,5 +99,3 @@ ShellAppSystem * shell_global_get_app_system (ShellGlobal *global);
|
||||
ShellAppUsage * shell_global_get_app_usage (ShellGlobal *global);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_GLOBAL_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_GLSL_EFFECT_H__
|
||||
#define __SHELL_GLSL_EFFECT_H__
|
||||
#pragma once
|
||||
|
||||
#include "st.h"
|
||||
|
||||
@ -57,5 +56,3 @@ void shell_glsl_effect_set_uniform_matrix (ShellGLSLEffect *effect,
|
||||
int dimensions,
|
||||
int total_count,
|
||||
const float *value);
|
||||
|
||||
#endif /* __SHELL_GLSL_EFFECT_H__ */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* Author:
|
||||
* Joseph Scheuhammer <clown@alum.mit.edu>
|
||||
*/
|
||||
#ifndef __SHELL_INVERT_LIGHTNESS_EFFECT_H__
|
||||
#define __SHELL_INVERT_LIGHTNESS_EFFECT_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -37,5 +36,3 @@ GType shell_invert_lightness_effect_get_type (void) G_GNUC_CONST;
|
||||
ClutterEffect *shell_invert_lightness_effect_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_INVERT_LIGHTNESS_EFFECT_H__ */
|
||||
|
@ -20,8 +20,7 @@
|
||||
Author: Stef Walter <stef@thewalter.net>
|
||||
*/
|
||||
|
||||
#ifndef __SHELL_KEYRING_PROMPT_H__
|
||||
#define __SHELL_KEYRING_PROMPT_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <glib.h>
|
||||
@ -53,5 +52,3 @@ gboolean shell_keyring_prompt_complete (ShellKeyringProm
|
||||
void shell_keyring_prompt_cancel (ShellKeyringPrompt *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_KEYRING_PROMPT_H__ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __SHELL_MOUNT_OPERATION_H__
|
||||
#define __SHELL_MOUNT_OPERATION_H__
|
||||
#pragma once
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
@ -37,5 +36,3 @@ gchar ** shell_mount_operation_get_show_processes_choices (ShellMountOperation *
|
||||
gchar * shell_mount_operation_get_show_processes_message (ShellMountOperation *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_MOUNT_OPERATION_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_NETWORK_AGENT_H__
|
||||
#define __SHELL_NETWORK_AGENT_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <glib.h>
|
||||
@ -69,5 +68,3 @@ NMVpnPluginInfo *shell_network_agent_search_vpn_plugin_finish (ShellNetworkAge
|
||||
#define SHELL_KEYRING_SK_TAG "setting-key"
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_NETWORK_AGENT_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_PERF_LOG_H__
|
||||
#define __SHELL_PERF_LOG_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <gio/gio.h>
|
||||
@ -71,5 +70,3 @@ gboolean shell_perf_log_dump_log (ShellPerfLog *perf_log,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_PERF_LOG_H__ */
|
||||
|
@ -32,4 +32,3 @@ void shell_polkit_authentication_agent_register (Shel
|
||||
void shell_polkit_authentication_agent_unregister (ShellPolkitAuthenticationAgent *agent);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_SCREENSHOT_H__
|
||||
#define __SHELL_SCREENSHOT_H__
|
||||
#pragma once
|
||||
|
||||
#include <mtk/mtk.h>
|
||||
|
||||
@ -88,5 +87,3 @@ void shell_screenshot_composite_to_stream (CoglTexture *texture,
|
||||
gpointer user_data);
|
||||
GdkPixbuf *shell_screenshot_composite_to_stream_finish (GAsyncResult *result,
|
||||
GError **error);
|
||||
|
||||
#endif /* ___SHELL_SCREENSHOT_H__ */
|
||||
|
@ -21,8 +21,7 @@
|
||||
Author: Stef Walter <stefw@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef __SHELL_SECURE_TEXT_BUFFER_H__
|
||||
#define __SHELL_SECURE_TEXT_BUFFER_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -35,5 +34,3 @@ G_DECLARE_FINAL_TYPE (ShellSecureTextBuffer, shell_secure_text_buffer,
|
||||
ClutterTextBuffer * shell_secure_text_buffer_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_SECURE_TEXT_BUFFER_H__ */
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef __SHELL_SQUARE_BIN_H__
|
||||
#define __SHELL_SQUARE_BIN_H__
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <st/st.h>
|
||||
|
||||
@ -9,5 +9,3 @@ G_BEGIN_DECLS
|
||||
G_DECLARE_FINAL_TYPE (ShellSquareBin, shell_square_bin, SHELL, SquareBin, StBin)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_SQUARE_BIN_H__ */
|
||||
|
@ -1,10 +1,7 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_STACK_H__
|
||||
#define __SHELL_STACK_H__
|
||||
#pragma once
|
||||
|
||||
#include "st.h"
|
||||
|
||||
#define SHELL_TYPE_STACK (shell_stack_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (ShellStack, shell_stack, SHELL, STACK, StWidget)
|
||||
|
||||
#endif /* __SHELL_STACK_H__ */
|
||||
|
@ -1,11 +1,8 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef SHELL_TRAY_ICON_PRIVATE_H
|
||||
#define SHELL_TRAY_ICON_PRIVATE_H
|
||||
#pragma once
|
||||
|
||||
#include "shell-tray-icon.h"
|
||||
|
||||
#include "na-tray-child.h"
|
||||
|
||||
ClutterActor * shell_tray_icon_new (NaTrayChild *tray_child);
|
||||
|
||||
#endif /* SHELL_TRAY_ICON_PRIVATE_H */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_TRAY_ICON_H__
|
||||
#define __SHELL_TRAY_ICON_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -10,5 +9,3 @@ G_DECLARE_FINAL_TYPE (ShellTrayIcon, shell_tray_icon,
|
||||
|
||||
void shell_tray_icon_click (ShellTrayIcon *icon,
|
||||
ClutterEvent *event);
|
||||
|
||||
#endif /* __SHELL_TRAY_ICON_H__ */
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
|
||||
#ifndef __SHELL_TRAY_MANAGER_H__
|
||||
#define __SHELL_TRAY_MANAGER_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
#include "st.h"
|
||||
@ -18,5 +17,3 @@ void shell_tray_manager_manage_screen (ShellTrayManager *manager,
|
||||
void shell_tray_manager_unmanage_screen (ShellTrayManager *manager);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_TRAY_MANAGER_H__ */
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
|
||||
#ifndef __SHELL_UTIL_H__
|
||||
#define __SHELL_UTIL_H__
|
||||
#pragma once
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <clutter/clutter.h>
|
||||
@ -120,5 +119,3 @@ GPid shell_util_spawn_async (const char *working_directory,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_UTIL_H__ */
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef __SHELL_WINDOW_PREVIEW_LAYOUT_H__
|
||||
#define __SHELL_WINDOW_PREVIEW_LAYOUT_H__
|
||||
#pragma once
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -29,5 +28,3 @@ void shell_window_preview_layout_remove_window (ShellWindowPreviewLayout *self
|
||||
GList * shell_window_preview_layout_get_windows (ShellWindowPreviewLayout *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_WINDOW_PREVIEW_LAYOUT_H__ */
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef __SHELL_WINDOW_PREVIEW_H__
|
||||
#define __SHELL_WINDOW_PREVIEW_H__
|
||||
#pragma once
|
||||
|
||||
#include <st/st.h>
|
||||
|
||||
@ -10,5 +9,3 @@ G_DECLARE_FINAL_TYPE (ShellWindowPreview, shell_window_preview,
|
||||
SHELL, WINDOW_PREVIEW, StWidget)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_WINDOW_PREVIEW_H__ */
|
||||
|
@ -1,11 +1,8 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_WINDOW_TRACKER_PRIVATE_H__
|
||||
#define __SHELL_WINDOW_TRACKER_PRIVATE_H__
|
||||
#pragma once
|
||||
|
||||
#include "shell-window-tracker.h"
|
||||
|
||||
void _shell_window_tracker_add_child_process_app (ShellWindowTracker *tracker,
|
||||
GPid pid,
|
||||
ShellApp *app);
|
||||
|
||||
#endif
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_WINDOW_TRACKER_H__
|
||||
#define __SHELL_WINDOW_TRACKER_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <glib.h>
|
||||
@ -25,5 +24,3 @@ ShellApp *shell_window_tracker_get_app_from_pid (ShellWindowTracker *tracker, in
|
||||
GSList *shell_window_tracker_get_startup_sequences (ShellWindowTracker *tracker);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_WINDOW_TRACKER_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_WM_PRIVATE_H__
|
||||
#define __SHELL_WM_PRIVATE_H__
|
||||
#pragma once
|
||||
|
||||
#include "shell-wm.h"
|
||||
#include <mtk/mtk.h>
|
||||
@ -60,5 +59,3 @@ MetaInhibitShortcutsDialog * _shell_wm_create_inhibit_shortcuts_dialog (ShellWM
|
||||
MetaWindow *window);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_WM_PRIVATE_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __SHELL_WM_H__
|
||||
#define __SHELL_WM_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <meta/meta-plugin.h>
|
||||
@ -28,5 +27,3 @@ void shell_wm_complete_display_change (ShellWM *wm,
|
||||
gboolean ok);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_WM_H__ */
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef __SHELL_WORKSPACE_BACKGROUND_H__
|
||||
#define __SHELL_WORKSPACE_BACKGROUND_H__
|
||||
#pragma once
|
||||
|
||||
#include <st/st.h>
|
||||
|
||||
@ -10,5 +9,3 @@ G_DECLARE_FINAL_TYPE (ShellWorkspaceBackground, shell_workspace_background,
|
||||
SHELL, WORKSPACE_BACKGROUND, StWidget)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_WORKSPACE_BACKGROUND_H__ */
|
||||
|
@ -21,9 +21,7 @@
|
||||
* See the COPYRIGHTS file for copyright information.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __CR_ADD_SEL_H__
|
||||
#define __CR_ADD_SEL_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
@ -94,5 +92,3 @@ void cr_additional_sel_dump (CRAdditionalSel const *a_this, FILE *a_fp) ;
|
||||
void cr_additional_sel_destroy (CRAdditionalSel *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_ADD_SEL_H*/
|
||||
|
@ -21,8 +21,7 @@
|
||||
* See COPYRIGHTS file for copyright information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_ATTR_SEL_H__
|
||||
#define __CR_ATTR_SEL_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
@ -70,5 +69,3 @@ void cr_attr_sel_dump (CRAttrSel const *a_this, FILE *a_fp) ;
|
||||
void cr_attr_sel_destroy (CRAttrSel *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_ATTR_SEL_H__*/
|
||||
|
@ -25,8 +25,7 @@
|
||||
*$Id$
|
||||
*/
|
||||
|
||||
#ifndef __CR_CASCADE_H__
|
||||
#define __CR_CASCADE_H__
|
||||
#pragma once
|
||||
|
||||
#include "cr-stylesheet.h"
|
||||
|
||||
@ -70,5 +69,3 @@ void cr_cascade_unref (CRCascade *a_this) ;
|
||||
void cr_cascade_destroy (CRCascade *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_CASCADE_H__*/
|
||||
|
@ -20,8 +20,7 @@
|
||||
* See the COPYRIGHTS file for copyright information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_DECLARATION_H__
|
||||
#define __CR_DECLARATION_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include "cr-utils.h"
|
||||
@ -132,5 +131,3 @@ gboolean cr_declaration_unref (CRDeclaration *a_this) ;
|
||||
void cr_declaration_destroy (CRDeclaration *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_DECLARATION_H__*/
|
||||
|
@ -20,8 +20,7 @@
|
||||
* See the COPYRIGHTS file for copyright information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_DOC_HANDLER_H__
|
||||
#define __CR_DOC_HANDLER_H__
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
*@file
|
||||
@ -294,5 +293,3 @@ gboolean cr_doc_handler_unref (CRDocHandler *a_this) ;
|
||||
void cr_doc_handler_destroy (CRDocHandler *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_DOC_HANDLER_H__*/
|
||||
|
@ -30,8 +30,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __CR_ENC_HANDLER_H__
|
||||
#define __CR_ENC_HANDLER_H__
|
||||
#pragma once
|
||||
|
||||
#include "cr-utils.h"
|
||||
|
||||
@ -90,5 +89,3 @@ cr_enc_handler_convert_input (CREncHandler *a_this,
|
||||
gulong *a_out_len) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_ENC_HANDLER_H__*/
|
||||
|
@ -23,8 +23,7 @@
|
||||
* See COPYRIGHTS file for copyright information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_FONTS_H__
|
||||
#define __CR_FONTS_H__
|
||||
#pragma once
|
||||
|
||||
#include "cr-utils.h"
|
||||
#include "cr-num.h"
|
||||
@ -311,5 +310,3 @@ const gchar * cr_font_variant_to_string (enum CRFontVariant a_code) ;
|
||||
const gchar * cr_font_stretch_to_string (enum CRFontStretch a_code) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
@ -21,8 +21,7 @@
|
||||
* See the COPYRIGHTS file for copyrights information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_INPUT_SRC_H__
|
||||
#define __CR_INPUT_SRC_H__
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <glib.h>
|
||||
@ -169,6 +168,3 @@ enum CRStatus
|
||||
cr_input_end_of_input (CRInput const *a_this, gboolean *a_end_of_input) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_INPUT_SRC_H__*/
|
||||
|
||||
|
@ -28,8 +28,7 @@
|
||||
*of the #CRNum class.
|
||||
*/
|
||||
|
||||
#ifndef __CR_NUM_H__
|
||||
#define __CR_NUM_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib.h>
|
||||
#include "cr-utils.h"
|
||||
@ -122,6 +121,3 @@ cr_num_destroy (CRNum *a_this) ;
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
#endif /*__CR_NUM_H__*/
|
||||
|
@ -25,8 +25,7 @@
|
||||
*$Id$
|
||||
*/
|
||||
|
||||
#ifndef __CR_OM_PARSER_H__
|
||||
#define __CR_OM_PARSER_H__
|
||||
#pragma once
|
||||
|
||||
#include "cr-parser.h"
|
||||
#include "cr-cascade.h"
|
||||
@ -94,5 +93,3 @@ enum CRStatus cr_om_parser_simply_parse_paths_to_cascade (const guchar *a_author
|
||||
void cr_om_parser_destroy (CROMParser *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_OM_PARSER_H__*/
|
||||
|
@ -21,8 +21,7 @@
|
||||
* See COPYRIGHTS file for copyrights information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_PARSER_H__
|
||||
#define __CR_PARSER_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib.h>
|
||||
#include "cr-input.h"
|
||||
@ -124,5 +123,3 @@ enum CRStatus cr_parser_parse_font_face (CRParser *a_this) ;
|
||||
void cr_parser_destroy (CRParser *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_PARSER_H__*/
|
||||
|
@ -21,8 +21,7 @@
|
||||
* See the COPYRIGHTS file for copyright information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_PARSING_LOCATION_H__
|
||||
#define __CR_PARSING_LOCATION_H__
|
||||
#pragma once
|
||||
|
||||
#include "cr-utils.h"
|
||||
|
||||
@ -66,5 +65,4 @@ void cr_parsing_location_destroy (CRParsingLocation *a_this) ;
|
||||
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
#endif
|
||||
G_END_DECLS
|
@ -19,8 +19,7 @@
|
||||
* See COPYRIGHTS file for copyrights information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_PROP_LIST_H__
|
||||
#define __CR_PROP_LIST_H__
|
||||
#pragma once
|
||||
|
||||
#include "cr-utils.h"
|
||||
#include "cr-declaration.h"
|
||||
@ -76,5 +75,3 @@ CRPropList * cr_prop_list_unlink (CRPropList *a_this,
|
||||
void cr_prop_list_destroy (CRPropList *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_PROP_LIST_H__*/
|
||||
|
@ -20,8 +20,7 @@
|
||||
* See COPYRIGHTS file for copyright information
|
||||
*/
|
||||
|
||||
#ifndef __CR_PSEUDO_H__
|
||||
#define __CR_PSEUDO_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
@ -60,5 +59,3 @@ void cr_pseudo_dump (CRPseudo const *a_this, FILE *a_fp) ;
|
||||
void cr_pseudo_destroy (CRPseudo *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_PSEUDO_H__*/
|
||||
|
@ -20,8 +20,7 @@
|
||||
* see COPYRIGHTS file for copyright information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_RGB_H__
|
||||
#define __CR_RGB_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
@ -80,5 +79,3 @@ void cr_rgb_dump (CRRgb const *a_this, FILE *a_fp) ;
|
||||
void cr_rgb_destroy (CRRgb *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_RGB_H__*/
|
||||
|
@ -22,8 +22,7 @@
|
||||
* See COPYRIGHTS file for copyright information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_SELECTOR_H__
|
||||
#define __CR_SELECTOR_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include "cr-utils.h"
|
||||
@ -88,5 +87,3 @@ gboolean cr_selector_unref (CRSelector *a_this) ;
|
||||
void cr_selector_destroy (CRSelector *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_SELECTOR_H__*/
|
||||
|
@ -22,8 +22,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __CR_SEL_H__
|
||||
#define __CR_SEL_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
@ -125,6 +124,3 @@ enum CRStatus cr_simple_sel_compute_specificity (CRSimpleSel *a_this) ;
|
||||
void cr_simple_sel_destroy (CRSimpleSel *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
#endif /*__CR_SIMPLE_SEL_H__*/
|
||||
|
@ -27,8 +27,7 @@
|
||||
#include "cr-selector.h"
|
||||
#include "cr-declaration.h"
|
||||
|
||||
#ifndef __CR_STATEMENT_H__
|
||||
#define __CR_STATEMENT_H__
|
||||
#pragma once
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -436,5 +435,3 @@ void
|
||||
cr_statement_destroy (CRStatement *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_STATEMENT_H__*/
|
||||
|
@ -25,8 +25,7 @@
|
||||
*Declaration file of the #CRString class.
|
||||
*/
|
||||
|
||||
#ifndef __CR_STRING_H__
|
||||
#define __CR_STRING_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib.h>
|
||||
#include "cr-utils.h"
|
||||
@ -72,5 +71,3 @@ gint cr_string_peek_raw_str_len (CRString const *a_this) ;
|
||||
void cr_string_destroy (CRString *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
@ -21,8 +21,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __CR_STYLESHEET_H__
|
||||
#define __CR_STYLESHEET_H__
|
||||
#pragma once
|
||||
|
||||
#include "cr-utils.h"
|
||||
#include "cr-statement.h"
|
||||
@ -98,5 +97,3 @@ gboolean cr_stylesheet_unref (CRStyleSheet *a_this) ;
|
||||
void cr_stylesheet_destroy (CRStyleSheet *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_STYLESHEET_H__*/
|
||||
|
@ -28,8 +28,7 @@
|
||||
#include "cr-num.h"
|
||||
#include "cr-string.h"
|
||||
|
||||
#ifndef __CR_TERM_H__
|
||||
#define __CR_TERM_H__
|
||||
#pragma once
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -186,5 +185,3 @@ gboolean cr_term_unref (CRTerm *a_this) ;
|
||||
void cr_term_destroy (CRTerm * a_term) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_TERM_H__*/
|
||||
|
@ -27,8 +27,7 @@
|
||||
*class.
|
||||
*/
|
||||
|
||||
#ifndef __CR_TKNZR_H__
|
||||
#define __CR_TKNZR_H__
|
||||
#pragma once
|
||||
|
||||
#include "cr-utils.h"
|
||||
#include "cr-input.h"
|
||||
@ -111,5 +110,3 @@ enum CRStatus cr_tknzr_get_input (CRTknzr *a_this, CRInput **a_input) ;
|
||||
void cr_tknzr_destroy (CRTknzr *a_this) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_TKZNR_H__*/
|
||||
|
@ -21,8 +21,7 @@
|
||||
* See COPYRIGHTS file for copyright information.
|
||||
*/
|
||||
|
||||
#ifndef __CR_TOKEN_H__
|
||||
#define __CR_TOKEN_H__
|
||||
#pragma once
|
||||
|
||||
#include "cr-utils.h"
|
||||
#include "cr-input.h"
|
||||
@ -208,5 +207,3 @@ cr_token_destroy (CRToken *a_this) ;
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_TOKEN_H__*/
|
||||
|
@ -21,8 +21,7 @@
|
||||
* Look at file COPYRIGHTS for copyright information
|
||||
*/
|
||||
|
||||
#ifndef __CR_DEFS_H__
|
||||
#define __CR_DEFS_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
@ -242,5 +241,3 @@ GList *
|
||||
cr_utils_dup_glist_of_cr_string (GList const * a_list_of_strings) ;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__CR_DEFS_H__*/
|
||||
|
@ -18,8 +18,7 @@
|
||||
* USA
|
||||
*/
|
||||
|
||||
#ifndef __LIBCROCO_H__
|
||||
#define __LIBCROCO_H__
|
||||
#pragma once
|
||||
|
||||
#include "libcroco-config.h"
|
||||
|
||||
@ -38,5 +37,3 @@
|
||||
#include "cr-om-parser.h"
|
||||
#include "cr-prop-list.h"
|
||||
#include "cr-string.h"
|
||||
|
||||
#endif /*__LIBCROCO_H__*/
|
||||
|
@ -22,8 +22,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_ADJUSTMENT_H__
|
||||
#define __ST_ADJUSTMENT_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <clutter/clutter.h>
|
||||
@ -88,5 +87,3 @@ void st_adjustment_remove_transition (StAdjustment *adjustme
|
||||
const char *name);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_ADJUSTMENT_H__ */
|
||||
|
@ -21,8 +21,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_BIN_H__
|
||||
#define __ST_BIN_H__
|
||||
#pragma once
|
||||
|
||||
#include <st/st-types.h>
|
||||
#include <st/st-widget.h>
|
||||
@ -49,5 +48,3 @@ void st_bin_set_child (StBin *bin,
|
||||
ClutterActor *st_bin_get_child (StBin *bin);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_BIN_H__ */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_BORDER_IMAGE_H__
|
||||
#define __ST_BORDER_IMAGE_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <gio/gio.h>
|
||||
@ -50,5 +49,3 @@ gboolean st_border_image_equal (StBorderImage *image,
|
||||
StBorderImage *other);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_BORDER_IMAGE_H__ */
|
||||
|
@ -22,8 +22,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef _ST_BOX_LAYOUT_H
|
||||
#define _ST_BOX_LAYOUT_H
|
||||
#pragma once
|
||||
|
||||
#include <st/st-widget.h>
|
||||
#include <st/st-viewport.h>
|
||||
@ -61,5 +60,3 @@ void st_box_layout_set_pack_start (StBoxLayout *box,
|
||||
gboolean st_box_layout_get_pack_start (StBoxLayout *box);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _ST_BOX_LAYOUT_H */
|
||||
|
@ -22,8 +22,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_BUTTON_H__
|
||||
#define __ST_BUTTON_H__
|
||||
#pragma once
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -81,5 +80,3 @@ void st_button_set_button_mask (StButton *button,
|
||||
StButtonMask st_button_get_button_mask (StButton *button);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_BUTTON_H__ */
|
||||
|
@ -21,8 +21,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef _ST_CLIPBOARD_H
|
||||
#define _ST_CLIPBOARD_H
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <meta/meta-selection.h>
|
||||
@ -101,5 +100,3 @@ void st_clipboard_get_content (StClipboard *clipboard,
|
||||
void st_clipboard_set_selection (MetaSelection *selection);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _ST_CLIPBOARD_H */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_DRAWING_AREA_H__
|
||||
#define __ST_DRAWING_AREA_H__
|
||||
#pragma once
|
||||
|
||||
#include "st-widget.h"
|
||||
#include <cairo.h>
|
||||
@ -40,5 +39,3 @@ cairo_t *st_drawing_area_get_context (StDrawingArea *area);
|
||||
void st_drawing_area_get_surface_size (StDrawingArea *area,
|
||||
guint *width,
|
||||
guint *height);
|
||||
|
||||
#endif /* __ST_DRAWING_AREA_H__ */
|
||||
|
@ -21,8 +21,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_ENTRY_H__
|
||||
#define __ST_ENTRY_H__
|
||||
#pragma once
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -76,4 +75,3 @@ void st_entry_set_cursor_func (StEntryCursorFunc func,
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_ENTRY_H__ */
|
||||
|
@ -22,8 +22,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_FOCUS_MANAGER_H__
|
||||
#define __ST_FOCUS_MANAGER_H__
|
||||
#pragma once
|
||||
|
||||
#include <st/st-types.h>
|
||||
#include <st/st-widget.h>
|
||||
@ -61,5 +60,3 @@ gboolean st_focus_manager_navigate_from_event (StFocusManager *manager,
|
||||
ClutterEvent *event);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_FOCUS_MANAGER_H__ */
|
||||
|
@ -21,8 +21,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_GENERIC_ACCESSIBLE_H__
|
||||
#define __ST_GENERIC_ACCESSIBLE_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
#include <st/st-widget-accessible.h>
|
||||
@ -58,5 +57,3 @@ GType st_generic_accessible_get_type (void) G_GNUC_CONST;
|
||||
AtkObject* st_generic_accessible_new_for_actor (ClutterActor *actor);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_GENERIC_ACCESSIBLE_H__ */
|
||||
|
@ -14,8 +14,7 @@
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef __ST_ICON_CACHE_H__
|
||||
#define __ST_ICON_CACHE_H__
|
||||
#pragma once
|
||||
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
@ -45,5 +44,3 @@ GdkPixbuf * st_icon_cache_get_icon (StIconCache *cache,
|
||||
|
||||
StIconCache *st_icon_cache_ref (StIconCache *cache);
|
||||
void st_icon_cache_unref (StIconCache *cache);
|
||||
|
||||
#endif /* __ST_ICON_CACHE_H__ */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#ifndef __ST_ICON_COLORS__
|
||||
#define __ST_ICON_COLORS__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -37,5 +36,3 @@ gboolean st_icon_colors_equal (StIconColors *colors,
|
||||
StIconColors *other);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_ICON_COLORS__ */
|
||||
|
@ -25,8 +25,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef _ST_ICON
|
||||
#define _ST_ICON
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <gio/gio.h>
|
||||
@ -80,5 +79,3 @@ gboolean st_icon_get_is_symbolic (StIcon *icon);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _ST_ICON */
|
||||
|
||||
|
@ -18,8 +18,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_IMAGE_CONTENT_H__
|
||||
#define __ST_IMAGE_CONTENT_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -29,5 +28,3 @@ G_DECLARE_FINAL_TYPE (StImageContent, st_image_content,
|
||||
|
||||
ClutterContent *st_image_content_new_with_preferred_size (int width,
|
||||
int height);
|
||||
|
||||
#endif /* __ST_IMAGE_CONTENT_H__ */
|
||||
|
@ -21,8 +21,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_LABEL_H__
|
||||
#define __ST_LABEL_H__
|
||||
#pragma once
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -55,4 +54,3 @@ ClutterActor * st_label_get_clutter_text (StLabel *label);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_LABEL_H__ */
|
||||
|
@ -21,8 +21,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_PASSWORD_ENTRY_H__
|
||||
#define __ST_PASSWORD_ENTRY_H__
|
||||
#pragma once
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -41,6 +40,3 @@ void st_password_entry_set_show_peek_icon (StPasswordEntr
|
||||
gboolean value);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_PASSWORD_ENTRY_H__ */
|
||||
|
||||
|
@ -20,8 +20,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_PRIVATE_H__
|
||||
#define __ST_PRIVATE_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib.h>
|
||||
#include <cairo.h>
|
||||
@ -73,5 +72,3 @@ void _st_paint_shadow_with_opacity (StShadow *shadow_spec,
|
||||
CoglPipeline *shadow_pipeline,
|
||||
ClutterActorBox *box,
|
||||
guint8 paint_opacity);
|
||||
|
||||
#endif /* __ST_PRIVATE_H__ */
|
||||
|
@ -22,8 +22,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_SCROLL_BAR_H__
|
||||
#define __ST_SCROLL_BAR_H__
|
||||
#pragma once
|
||||
|
||||
#include <st/st-adjustment.h>
|
||||
#include <st/st-widget.h>
|
||||
@ -49,5 +48,3 @@ void st_scroll_bar_set_adjustment (StScrollBar *bar,
|
||||
StAdjustment *st_scroll_bar_get_adjustment (StScrollBar *bar);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_SCROLL_BAR_H__ */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_SCROLL_VIEW_FADE_H__
|
||||
#define __ST_SCROLL_VIEW_FADE_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -32,5 +31,3 @@ G_DECLARE_FINAL_TYPE (StScrollViewFade, st_scroll_view_fade,
|
||||
ClutterEffect *st_scroll_view_fade_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_SCROLL_VIEW_FADE_H__ */
|
||||
|
@ -22,8 +22,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_SCROLLABLE_H__
|
||||
#define __ST_SCROLLABLE_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <st/st-adjustment.h>
|
||||
@ -55,5 +54,3 @@ void st_scrollable_get_adjustments (StScrollable *scrollable,
|
||||
StAdjustment **vadjustment);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_SCROLLABLE_H__ */
|
||||
|
@ -21,8 +21,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_SETTINGS_H__
|
||||
#define __ST_SETTINGS_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <gdesktop-enums.h>
|
||||
@ -57,5 +56,3 @@ void st_settings_inhibit_animations (StSettings *settings);
|
||||
void st_settings_uninhibit_animations (StSettings *settings);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_SETTINGS_H__ */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_SHADOW__
|
||||
#define __ST_SHADOW__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -91,5 +90,3 @@ void st_shadow_helper_paint (StShadowHelper *helper,
|
||||
uint8_t paint_opacity);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_SHADOW__ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_TEXTURE_CACHE_H__
|
||||
#define __ST_TEXTURE_CACHE_H__
|
||||
#pragma once
|
||||
|
||||
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
@ -112,5 +111,3 @@ CoglTexture * st_texture_cache_load (StTextureCache *cache,
|
||||
GError **error);
|
||||
|
||||
gboolean st_texture_cache_rescan_icon_theme (StTextureCache *cache);
|
||||
|
||||
#endif /* __ST_TEXTURE_CACHE_H__ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_THEME_CONTEXT_H__
|
||||
#define __ST_THEME_CONTEXT_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
#include <pango/pango.h>
|
||||
@ -65,5 +64,3 @@ StThemeNode * st_theme_context_intern_node (StThemeContext
|
||||
int st_theme_context_get_scale_factor (StThemeContext *context);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_THEME_CONTEXT_H__ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_THEME_NODE_PRIVATE_H__
|
||||
#define __ST_THEME_NODE_PRIVATE_H__
|
||||
#pragma once
|
||||
|
||||
#include "st-theme-node.h"
|
||||
#include "croco/libcroco.h"
|
||||
@ -124,5 +123,3 @@ void _st_theme_node_apply_margins (StThemeNode *node,
|
||||
ClutterActor *actor);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_THEME_NODE_PRIVATE_H__ */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_THEME_NODE_TRANSITION_H__
|
||||
#define __ST_THEME_NODE_TRANSITION_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -55,5 +54,3 @@ void st_theme_node_transition_get_paint_box (StThemeNodeTransition *transition,
|
||||
StThemeNodePaintState * st_theme_node_transition_get_new_paint_state (StThemeNodeTransition *transition);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_THEME_NODE_H__
|
||||
#define __ST_THEME_NODE_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
#include "st-border-image.h"
|
||||
@ -365,5 +364,3 @@ void st_theme_node_paint_state_set_node (StThemeNodePaintState *state,
|
||||
StThemeNode *node);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_THEME_NODE_H__ */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ST_THEME_PRIVATE_H__
|
||||
#define __ST_THEME_PRIVATE_H__
|
||||
#pragma once
|
||||
|
||||
#include "croco/libcroco.h"
|
||||
#include "st-theme.h"
|
||||
@ -37,5 +36,3 @@ GFile *_st_theme_resolve_url (StTheme *theme,
|
||||
CRDeclaration *_st_theme_parse_declaration_list (const char *str);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_THEME_PRIVATE_H__ */
|
||||
|
@ -17,8 +17,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef __ST_THEME_H__
|
||||
#define __ST_THEME_H__
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
@ -47,5 +46,3 @@ void st_theme_unload_stylesheet (StTheme *theme, GFile *file);
|
||||
GSList *st_theme_get_custom_stylesheets (StTheme *theme);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_THEME_H__ */
|
||||
|
@ -14,13 +14,13 @@
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef __ST_TYPES_H__
|
||||
#define __ST_TYPES_H__
|
||||
|
||||
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -41,5 +41,3 @@ typedef enum {
|
||||
} StBackgroundSize;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_TYPES_H__ */
|
||||
|
@ -22,8 +22,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_WIDGET_ACCESSIBLE_H__
|
||||
#define __ST_WIDGET_ACCESSIBLE_H__
|
||||
#pragma once
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -72,5 +71,3 @@ struct _StWidgetAccessibleClass
|
||||
GType st_widget_accessible_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_WIDGET_ACCESSIBLE_H__ */
|
||||
|
@ -25,8 +25,7 @@
|
||||
#error "Only <st/st.h> can be included directly.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ST_WIDGET_H__
|
||||
#define __ST_WIDGET_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
#include <st/st-types.h>
|
||||
@ -154,5 +153,3 @@ void st_widget_add_accessible_state (StWidget *widget,
|
||||
void st_widget_remove_accessible_state (StWidget *widget,
|
||||
AtkStateType state);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __ST_WIDGET_H__ */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __NA_TRAY_CHILD_H__
|
||||
#define __NA_TRAY_CHILD_H__
|
||||
#pragma once
|
||||
|
||||
#include "na-xembed.h"
|
||||
|
||||
@ -41,5 +40,3 @@ void na_tray_child_emulate_event (NaTrayChild *tray_child,
|
||||
ClutterEvent *event);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __NA_TRAY_CHILD_H__ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* Used to be: eggtraymanager.h
|
||||
*/
|
||||
|
||||
#ifndef __NA_TRAY_MANAGER_H__
|
||||
#define __NA_TRAY_MANAGER_H__
|
||||
#pragma once
|
||||
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
@ -42,5 +41,3 @@ void na_tray_manager_set_colors (NaTrayManager *manager,
|
||||
CoglColor *success);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __NA_TRAY_MANAGER_H__ */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* Author: Carlos Garnacho <carlosg@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef NA_XEMBED_H
|
||||
#define NA_XEMBED_H
|
||||
#pragma once
|
||||
|
||||
#include <meta/meta-x11-display.h>
|
||||
#include <glib-object.h>
|
||||
@ -62,6 +61,4 @@ void na_xembed_get_size (NaXembed *xembed,
|
||||
void na_xembed_set_background_color (NaXembed *xembed,
|
||||
const CoglColor *color);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* NA_XEMBED_H */
|
||||
G_END_DECLS
|
Loading…
x
Reference in New Issue
Block a user