update bar_entry_mode declaration to one liner

This commit is contained in:
NunoSempere 2024-02-11 15:47:38 +01:00
parent 90fef3b468
commit afe93518a9

8
rose.c
View File

@ -15,8 +15,7 @@ static GtkWindow* window;
static GtkHeaderBar* bar; static GtkHeaderBar* bar;
static GtkEntry* bar_line; // widget static GtkEntry* bar_line; // widget
static GtkEntryBuffer* bar_line_text; static GtkEntryBuffer* bar_line_text;
static int bar_entry_mode; static enum { _SEARCH, _FIND, _HIDDEN } bar_entry_mode;
enum { _SEARCH, _FIND, _HIDDEN };
/* Plugins */ /* Plugins */
// #include "plugins/stand_in/stand_in.h" // #include "plugins/stand_in/stand_in.h"
@ -25,7 +24,10 @@ int READABILITY_ENABLED = true;
int CUSTOM_STYLE_ENABLED = true; int CUSTOM_STYLE_ENABLED = true;
int CUSTOM_USER_AGENT = false; int CUSTOM_USER_AGENT = false;
int NUM_TABS = 0; int NUM_TABS = 0;
// to enable plugins,
// To disable plugins: set their variable to false.
// To exise plugins:
// 1. Enable them: // 1. Enable them:
// - uncomment their #include statement // - uncomment their #include statement
// - set their variable to true // - set their variable to true