diff options
author | Pablo Barciela <[email protected]> | 2018-12-12 00:52:21 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2018-12-15 22:47:22 +0100 |
commit | 7cd2ccc48b5a90cd54ba24f6bcdfe36dd8b495f6 (patch) | |
tree | f5bc23514956c286ccaf659b69dcb63e91771d3a /mate-session/gsm-util.h | |
parent | 717a8f94d63a2040e8af7e6613d55d74660e07ed (diff) | |
download | mate-session-manager-7cd2ccc48b5a90cd54ba24f6bcdfe36dd8b495f6.tar.bz2 mate-session-manager-7cd2ccc48b5a90cd54ba24f6bcdfe36dd8b495f6.tar.xz |
avoid 'gtk_dialog_add_button' with stock ids
Diffstat (limited to 'mate-session/gsm-util.h')
-rw-r--r-- | mate-session/gsm-util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mate-session/gsm-util.h b/mate-session/gsm-util.h index 2c406af..dcec60e 100644 --- a/mate-session/gsm-util.h +++ b/mate-session/gsm-util.h @@ -21,6 +21,7 @@ #define __GSM_UTIL_H__ #include <glib.h> +#include <gtk/gtk.h> #ifdef __cplusplus extern "C" { @@ -57,6 +58,11 @@ gboolean gsm_util_export_user_environment (GError **error); void gsm_util_setenv (const char *variable, const char *value); +GtkWidget* gsm_util_dialog_add_button (GtkDialog *dialog, + const gchar *button_text, + const gchar *icon_name, + gint response_id); + #ifdef __cplusplus } #endif |