aboutsummaryrefslogtreecommitdiffstats
path: root/vconsole.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-11-14 08:54:32 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-11-14 08:54:32 +0100
commit34889bb7ab5674df21fdba3d5f913c99707f1a42 (patch)
treed59f85ee5afc46c306b7b06d00bbec66da8649ff /vconsole.h
parentb584913d9eadfc42644b8b740775d389b03efcc3 (diff)
downloadvconsole-34889bb7ab5674df21fdba3d5f913c99707f1a42.tar.gz
tweak error handling
Diffstat (limited to 'vconsole.h')
-rw-r--r--vconsole.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/vconsole.h b/vconsole.h
index e31c531..fe92c8e 100644
--- a/vconsole.h
+++ b/vconsole.h
@@ -73,8 +73,9 @@ struct vconsole_window {
extern int debug;
extern GKeyFile *config;
-int gtk_message(GtkWidget *window, GtkMessageType type, char *fmt, ...)
- __attribute__ ((format (printf, 3, 0)));
+void gtk_message(GtkWidget *parent, GtkWidget **dialog, GtkMessageType type,
+ char *fmt, ...)
+ __attribute__ ((format (printf, 4, 0)));
void config_write(void);
@@ -83,6 +84,9 @@ void config_write(void);
struct vconsole_connect {
struct vconsole_window *win;
virConnectPtr ptr;
+ GtkWidget *warn;
+ GtkWidget *err;
+ GtkWidget *info;
};
struct vconsole_connect *connect_init(struct vconsole_window *win,