From cee753bd3cc2f96743e8771d0cd82beee32fcd2e Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 10 Mar 2017 23:39:29 +0100 Subject: Zeltakmadness (#572) * Allow modi to set extra pango attributes on displayed rows * Fix some documentation, only highlight the mode name with color. * Small rename. --- source/dialogs/run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/dialogs/run.c') diff --git a/source/dialogs/run.c b/source/dialogs/run.c index 96ddd352..816f0a41 100644 --- a/source/dialogs/run.c +++ b/source/dialogs/run.c @@ -390,7 +390,7 @@ static ModeMode run_mode_result ( Mode *sw, int mretv, char **input, unsigned in return retv; } -static char *_get_display_value ( const Mode *sw, unsigned int selected_line, G_GNUC_UNUSED int *state, int get_entry ) +static char *_get_display_value ( const Mode *sw, unsigned int selected_line, G_GNUC_UNUSED int *state, G_GNUC_UNUSED GList **list, int get_entry ) { const RunModePrivateData *rmpd = (const RunModePrivateData *) sw->private_data; return get_entry ? g_strdup ( rmpd->cmd_list[selected_line] ) : NULL; -- cgit v1.2.3