Correct indentations
This commit is contained in:
parent
aa4d74f603
commit
27ad3385b7
@ -8,7 +8,7 @@ const gchar *default_template[] = {"# Title\n"
|
||||
"Tags: \n"
|
||||
"\n"
|
||||
"Text",
|
||||
NULL};
|
||||
NULL};
|
||||
|
||||
static gboolean mainWindow_workspace_entry_visible(GtkTreeModel *model,
|
||||
GtkTreeIter *iter,
|
||||
@ -215,9 +215,9 @@ static void mainWindow_configure_workspaceTreeView(struct mainWindow *mainWindow
|
||||
G_TYPE_STRING);
|
||||
|
||||
mainWindow->workspaceListFiltered = GTK_TREE_MODEL_FILTER(
|
||||
gtk_tree_model_filter_new(
|
||||
GTK_TREE_MODEL(mainWindow->workspaceListStore),
|
||||
NULL));
|
||||
gtk_tree_model_filter_new(
|
||||
GTK_TREE_MODEL(mainWindow->workspaceListStore),
|
||||
NULL));
|
||||
|
||||
gtk_tree_model_filter_set_visible_func(mainWindow->workspaceListFiltered,
|
||||
(GtkTreeModelFilterVisibleFunc) mainWindow_workspace_entry_visible,
|
||||
@ -798,9 +798,9 @@ static void mainWindow_set_text(struct mainWindow *mainWindow, gchar *text, gcha
|
||||
base_url = g_strdup_printf("file://%s", file_url);
|
||||
file = g_file_new_for_path(tempfile_path);
|
||||
stream = g_file_replace(
|
||||
file, NULL, FALSE,
|
||||
G_FILE_CREATE_NONE,
|
||||
NULL, NULL);
|
||||
file, NULL, FALSE,
|
||||
G_FILE_CREATE_NONE,
|
||||
NULL, NULL);
|
||||
g_output_stream_write(G_OUTPUT_STREAM(stream), text, strlen(text), NULL, NULL);
|
||||
g_output_stream_flush(G_OUTPUT_STREAM(stream), NULL, NULL);
|
||||
|
||||
@ -950,13 +950,13 @@ void mainWindow_filterChanged(GtkWidget *widget, gpointer user_data)
|
||||
}
|
||||
|
||||
mainWindow->filterSettings.search_title = gtk_toggle_button_get_active(
|
||||
GTK_TOGGLE_BUTTON(mainWindow->checkSearchTitle));
|
||||
GTK_TOGGLE_BUTTON(mainWindow->checkSearchTitle));
|
||||
mainWindow->filterSettings.search_tags = gtk_toggle_button_get_active(
|
||||
GTK_TOGGLE_BUTTON(mainWindow->checkSearchTags));
|
||||
GTK_TOGGLE_BUTTON(mainWindow->checkSearchTags));
|
||||
mainWindow->filterSettings.search_text = gtk_toggle_button_get_active(
|
||||
GTK_TOGGLE_BUTTON(mainWindow->checkSearchText));
|
||||
GTK_TOGGLE_BUTTON(mainWindow->checkSearchText));
|
||||
mainWindow->filterSettings.search_summary = gtk_toggle_button_get_active(
|
||||
GTK_TOGGLE_BUTTON(mainWindow->checkSearchSummary));
|
||||
GTK_TOGGLE_BUTTON(mainWindow->checkSearchSummary));
|
||||
|
||||
gtk_tree_model_filter_refilter(mainWindow->entryListFiltered);
|
||||
}
|
||||
|
@ -78,9 +78,9 @@ gboolean mdiary_save_settings(gchar *filename, struct mdiary_settings *settings)
|
||||
|
||||
file = g_file_new_for_path(filename);
|
||||
stream = g_file_replace(
|
||||
file, NULL, FALSE,
|
||||
G_FILE_CREATE_NONE,
|
||||
NULL, NULL);
|
||||
file, NULL, FALSE,
|
||||
G_FILE_CREATE_NONE,
|
||||
NULL, NULL);
|
||||
|
||||
|
||||
output_buffer = g_strdup_printf("renderer = %d\n", settings->mainWindow->renderer);
|
||||
|
Loading…
Reference in New Issue
Block a user