[Xfce4-commits] <libxfce4ui:master> Don't generate enums for XfceSMClientPriority.

Nick Schermer noreply at xfce.org
Mon Oct 26 12:34:01 CET 2009


Updating branch refs/heads/master
         to 191c7114ea38dcd2d7b063d00bd07c793a0a6290 (commit)
       from b176661d43fb3d1e44a62edec749f52ec19413e0 (commit)

commit 191c7114ea38dcd2d7b063d00bd07c793a0a6290
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Oct 26 12:29:27 2009 +0100

    Don't generate enums for XfceSMClientPriority.
    
    XfceSMClientPriority is only a bunch of useful default
    values, not a type used by the implementation.

 docs/libxfce4ui.types         |    1 -
 libxfce4ui/libxfce4ui.symbols |    1 -
 libxfce4ui/xfce-sm-client.h   |    2 +-
 3 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/docs/libxfce4ui.types b/docs/libxfce4ui.types
index a32bcf1..41b1c20 100644
--- a/docs/libxfce4ui.types
+++ b/docs/libxfce4ui.types
@@ -2,6 +2,5 @@
 
 xfce_titled_dialog_get_type
 xfce_sm_client_get_type
-xfce_sm_client_priority_get_type
 xfce_sm_client_restart_style_get_type
 xfce_sm_client_shutdown_hint_get_type
diff --git a/libxfce4ui/libxfce4ui.symbols b/libxfce4ui/libxfce4ui.symbols
index 54c7146..304b589 100644
--- a/libxfce4ui/libxfce4ui.symbols
+++ b/libxfce4ui/libxfce4ui.symbols
@@ -50,7 +50,6 @@ libxfce4ui_check_version
 #if IN_HEADER(__LIBXFCE4UI_ENUM_TYPES_H__)
 #if IN_SOURCE(__LIBXFCE4UI_ENUM_TYPES_C__)
 xfce_sm_client_restart_style_get_type
-xfce_sm_client_priority_get_type
 xfce_sm_client_shutdown_hint_get_type
 #endif
 #endif
diff --git a/libxfce4ui/xfce-sm-client.h b/libxfce4ui/xfce-sm-client.h
index bd7ba8c..7a4ed5d 100644
--- a/libxfce4ui/xfce-sm-client.h
+++ b/libxfce4ui/xfce-sm-client.h
@@ -41,7 +41,7 @@ typedef enum
     XFCE_SM_CLIENT_RESTART_IMMEDIATELY,
 } XfceSMClientRestartStyle;
 
-typedef enum
+typedef enum /*< skip >*/
 {
     XFCE_SM_CLIENT_PRIORITY_HIGHEST = 0,
     XFCE_SM_CLIENT_PRIORITY_WM = 15,



More information about the Xfce4-commits mailing list