uniqueapp.h | uniqueapp.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
/** | /** | |||
* UniqueCommand: | * UniqueCommand: | |||
* @UNIQUE_INVALID: used internally | * @UNIQUE_INVALID: used internally | |||
* @UNIQUE_ACTIVATE: request to activate a currently active instance; this | * @UNIQUE_ACTIVATE: request to activate a currently active instance; this | |||
* usually means calling gtk_window_present() on the application window. | * usually means calling gtk_window_present() on the application window. | |||
* @UNIQUE_NEW: request to create a new file. | * @UNIQUE_NEW: request to create a new file. | |||
* @UNIQUE_OPEN: request to open a file. | * @UNIQUE_OPEN: request to open a file. | |||
* @UNIQUE_CLOSE: requests to close the currently running instance. | * @UNIQUE_CLOSE: requests to close the currently running instance. | |||
* | * | |||
* Command to send to a currently active instance. User defined commands | * Command to send to a currently active instance. User defined commands | |||
* should be positive integers, and should be added using | * should be positive integers, and should be added using the | |||
* unique_command_register() before creating the UniqueApp instance. | * unique_app_add_command() function after creating a #UniqueApp instance | |||
*/ | */ | |||
typedef enum { /*< prefix=UNIQUE >*/ | typedef enum { /*< prefix=UNIQUE >*/ | |||
UNIQUE_INVALID = 0, | UNIQUE_INVALID = 0, | |||
UNIQUE_ACTIVATE = -1, | UNIQUE_ACTIVATE = -1, | |||
UNIQUE_NEW = -2, | UNIQUE_NEW = -2, | |||
UNIQUE_OPEN = -3, | UNIQUE_OPEN = -3, | |||
UNIQUE_CLOSE = -4 | UNIQUE_CLOSE = -4 | |||
} UniqueCommand; | } UniqueCommand; | |||
GType unique_command_get_type (void) G_GNUC_CONST; | GType unique_command_get_type (void) G_GNUC_CONST; | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
uniqueversion.h | uniqueversion.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
* | * | |||
* Minor version of Unique | * Minor version of Unique | |||
*/ | */ | |||
#define UNIQUE_MINOR_VERSION (0) | #define UNIQUE_MINOR_VERSION (0) | |||
/** | /** | |||
* UNIQUE_MICRO_VERSION: | * UNIQUE_MICRO_VERSION: | |||
* | * | |||
* Micro version of Unique | * Micro version of Unique | |||
*/ | */ | |||
#define UNIQUE_MICRO_VERSION (6) | #define UNIQUE_MICRO_VERSION (8) | |||
/** | /** | |||
* UNIQUE_VERSION_S: | * UNIQUE_VERSION_S: | |||
* | * | |||
* Unique version as a string | * Unique version as a string | |||
*/ | */ | |||
#define UNIQUE_VERSION_S "1.0.6" | #define UNIQUE_VERSION_S "1.0.8" | |||
/** | /** | |||
* UNIQUE_VERSION_HEX: | * UNIQUE_VERSION_HEX: | |||
* | * | |||
* Unique version as an hexadecimal integer | * Unique version as an hexadecimal integer | |||
*/ | */ | |||
#define UNIQUE_VERSION_HEX (UNIQUE_MAJOR_VERSION << 16 | \ | #define UNIQUE_VERSION_HEX (UNIQUE_MAJOR_VERSION << 16 | \ | |||
UNIQUE_MINOR_VERSION << 8 | \ | UNIQUE_MINOR_VERSION << 8 | \ | |||
UNIQUE_MICRO_VERSION) | UNIQUE_MICRO_VERSION) | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||