summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-02-08 09:03:11 +0100
committerDave Davenport <qball@gmpclient.org>2016-02-08 09:03:11 +0100
commit5a86ae5c99d988511e31d20f08839a47a2141cc5 (patch)
treed1866c7ba3bee0bc34afff4ef29818617311d3d3 /source/view.c
parentad932c8fd02a278813af7c7c578caaa4cd5e4f0d (diff)
Cleanups
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/view.c b/source/view.c
index fc5efb64..c72daa4a 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1592,7 +1592,7 @@ RofiViewState *rofi_view_create ( Mode *sw,
}
return state;
}
-static void error_dialog_event_loop ( RofiViewState *state, XEvent *ev )
+static void __error_dialog_event_loop ( RofiViewState *state, XEvent *ev )
{
// Wait for event.
if ( sndisplay != NULL ) {
@@ -1614,13 +1614,13 @@ static void error_dialog_event_loop ( RofiViewState *state, XEvent *ev )
}
rofi_view_update ( state );
}
-void error_dialog ( const char *msg, int markup )
+void rofi_view_error_dialog ( const char *msg, int markup )
{
RofiViewState *state = rofi_view_state_create ();
state->retv = MENU_CANCEL;
state->update = TRUE;
state->border = config.padding + config.menu_bw;
- state->x11_event_loop = error_dialog_event_loop;
+ state->x11_event_loop = __error_dialog_event_loop;
state->finalize = NULL;
// Try to grab the keyboard as early as possible.