[dia] Rename create_layer_dialog to layer_dialog_create
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Rename create_layer_dialog to layer_dialog_create
- Date: Sun, 11 Dec 2011 15:57:36 +0000 (UTC)
commit a397fdcddaec1096686d5ae11ab41eef8b2342ac
Author: Hans Breuer <hans breuer org>
Date: Sun Dec 4 16:58:59 2011 +0100
Rename create_layer_dialog to layer_dialog_create
app/app_procs.c | 2 +-
app/layer_dialog.c | 8 ++++----
app/layer_dialog.h | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/app/app_procs.c b/app/app_procs.c
index 99df36d..e2b662b 100644
--- a/app/app_procs.c
+++ b/app/app_procs.c
@@ -942,7 +942,7 @@ app_init (int argc, char **argv)
create_toolbox();
/* for the integrated ui case it is integrated */
persistence_register_window_create("layer_window",
- (NullaryFunc*)&create_layer_dialog);
+ (NullaryFunc*)&layer_dialog_create);
}
/*fill recent file menu */
diff --git a/app/layer_dialog.c b/app/layer_dialog.c
index 84cfcfe..4230748 100644
--- a/app/layer_dialog.c
+++ b/app/layer_dialog.c
@@ -368,7 +368,7 @@ GtkWidget * create_layer_view_widget (void)
}
void
-create_layer_dialog(void)
+layer_dialog_create(void)
{
GtkWidget *dialog;
GtkWidget *vbox;
@@ -689,7 +689,7 @@ layer_dialog_update_diagram_list(void)
if (!dia_open_diagrams())
return; /* shortcut; maybe session end w/o this dialog */
else
- create_layer_dialog();
+ layer_dialog_create();
}
g_assert(layer_dialog != NULL); /* must be valid now */
/* oh this options: here integrated UI ;( */
@@ -760,7 +760,7 @@ layer_dialog_show()
if (is_integrated_ui () == FALSE)
{
if (layer_dialog == NULL || layer_dialog->dialog == NULL)
- create_layer_dialog();
+ layer_dialog_create();
g_assert(layer_dialog != NULL); /* must be valid now */
gtk_window_present(GTK_WINDOW(layer_dialog->dialog));
}
@@ -793,7 +793,7 @@ layer_dialog_set_diagram(Diagram *dia)
active_layer = dia->data->active_layer;
if (layer_dialog == NULL || layer_dialog->dialog == NULL)
- create_layer_dialog(); /* May have been destroyed */
+ layer_dialog_create(); /* May have been destroyed */
g_assert(layer_dialog != NULL); /* must be valid now */
gtk_container_foreach (GTK_CONTAINER(layer_dialog->layer_list),
diff --git a/app/layer_dialog.h b/app/layer_dialog.h
index c9769b2..4faba5b 100644
--- a/app/layer_dialog.h
+++ b/app/layer_dialog.h
@@ -22,7 +22,7 @@
#include "diagram.h"
-void create_layer_dialog(void);
+void layer_dialog_create(void);
void layer_dialog_update_diagram_list(void);
void layer_dialog_show(void);
void layer_dialog_set_diagram(Diagram *dia);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]