FreeBSD ports
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
1009 B

--- src/varibles.h.orig 2013-01-16 09:06:19 UTC
+++ src/varibles.h
@@ -24,30 +24,29 @@
#include <gtk/gtk.h>
#include "types.h"
-
#define OBS_NAME "obshutdown"
#define OBS_TITLE "Openbox Shutdown Dialog"
#define OBS_VERSION "0.1-rc1" /* !!!!!!!!!!!!!!!!!!!!!! */
-GtkWidget *winWidget;
-GtkWidget *hboxButtonWidget;
+extern GtkWidget *winWidget;
+extern GtkWidget *hboxButtonWidget;
/* Options from rc file */
-Options myOptions;
+extern Options myOptions;
/* Commandline options */
-CommandlineOptions myCmdOptions;
+extern CommandlineOptions myCmdOptions;
/* Varibles from themes rc */
-Theme myTheme;
+extern Theme myTheme;
/* Lock file (/tmp/obshutdown.lock) */
-GFile *myLockFile;
+extern GFile *myLockFile;
/* Configuration files */
-GKeyFile *myConfigFile;
-GKeyFile *myThemeConfigFile;
+extern GKeyFile *myConfigFile;
+extern GKeyFile *myThemeConfigFile;
/* Other */
-gboolean isFullscreen;
-gboolean exitCode;
+extern gboolean isFullscreen;
+extern gboolean exitCode;
#endif