Added more underscores to identifiers. Fixed some of the style (added
* plug-ins/gimpressionist/: Added more underscores to identifiers. Fixed some of the style (added whitespace before the '(' in function calls)
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2004-07-14 Shlomi Fish <shlomif@iglu.org.il>
|
||||
|
||||
* plug-ins/gimpressionist/: Added more underscores to identifiers.
|
||||
Fixed some of the style (added whitespace before the '(' in function
|
||||
calls)
|
||||
|
||||
2004-07-14 Philip Lafleur <plafleur@cvs.gnome.org>
|
||||
|
||||
* plug-ins/common/mng.c: Now writes a global palette chunk, and
|
||||
|
@ -447,7 +447,7 @@ create_brushpage(GtkNotebook *notebook)
|
||||
gtk_box_pack_start(GTK_BOX(thispage), box1, TRUE,TRUE,0);
|
||||
gtk_widget_show (box1);
|
||||
|
||||
view = createonecolumnlist (box1, brush_select_file);
|
||||
view = create_one_column_list (box1, brush_select_file);
|
||||
brush_list = view;
|
||||
brush_list_store =
|
||||
GTK_LIST_STORE (gtk_tree_view_get_model (GTK_TREE_VIEW (view)));
|
||||
|
@ -28,14 +28,14 @@
|
||||
|
||||
static GtkWidget *dlg = NULL;
|
||||
|
||||
void storevals(void)
|
||||
void store_values (void)
|
||||
{
|
||||
paper_store ();
|
||||
brush_store ();
|
||||
general_store ();
|
||||
}
|
||||
|
||||
void restorevals(void)
|
||||
void restore_values (void)
|
||||
{
|
||||
brush_restore ();
|
||||
paper_restore ();
|
||||
@ -48,9 +48,10 @@ void restorevals(void)
|
||||
update_orientmap_dialog ();
|
||||
}
|
||||
|
||||
GtkWidget *createonecolumnlist(GtkWidget *parent,
|
||||
GtkWidget *create_one_column_list (GtkWidget *parent,
|
||||
void (*changed_cb)
|
||||
(GtkTreeSelection *selection, gpointer data))
|
||||
(GtkTreeSelection *selection,
|
||||
gpointer data))
|
||||
{
|
||||
GtkListStore *store;
|
||||
GtkTreeSelection *selection;
|
||||
@ -92,7 +93,7 @@ GtkWidget *createonecolumnlist(GtkWidget *parent,
|
||||
}
|
||||
|
||||
static void
|
||||
showabout (void)
|
||||
show_about (void)
|
||||
{
|
||||
static GtkWidget *window = NULL;
|
||||
|
||||
@ -165,11 +166,11 @@ dialog_response (GtkWidget *widget,
|
||||
switch (response_id)
|
||||
{
|
||||
case RESPONSE_ABOUT:
|
||||
showabout ();
|
||||
show_about ();
|
||||
break;
|
||||
|
||||
case GTK_RESPONSE_OK:
|
||||
storevals ();
|
||||
store_values ();
|
||||
pcvals.run = TRUE;
|
||||
gtk_widget_destroy (widget);
|
||||
break;
|
||||
@ -234,7 +235,7 @@ create_dialog (void)
|
||||
* This is to make sure the values from the pcvals will be reflected
|
||||
* in the GUI here. Otherwise they will be set to the defaults.
|
||||
* */
|
||||
restorevals ();
|
||||
restore_values ();
|
||||
|
||||
gtk_widget_show (dlg);
|
||||
|
||||
|
@ -130,8 +130,8 @@ void free_parsepath_cache(void);
|
||||
void create_orientationpage (GtkNotebook *);
|
||||
|
||||
void grabarea (void);
|
||||
void storevals(void);
|
||||
void restorevals(void);
|
||||
void store_values (void);
|
||||
void restore_values (void);
|
||||
gchar *findfile (const gchar *);
|
||||
|
||||
void unselectall (GtkWidget *list);
|
||||
@ -144,9 +144,10 @@ void readdirintolist_extended(char *subdir, GtkWidget *view, char *selected,
|
||||
void * context);
|
||||
void orientation_restore (void);
|
||||
|
||||
GtkWidget *createonecolumnlist(GtkWidget *parent,
|
||||
GtkWidget *create_one_column_list (GtkWidget *parent,
|
||||
void (*changed_cb)
|
||||
(GtkTreeSelection *selection, gpointer data));
|
||||
(GtkTreeSelection *selection,
|
||||
gpointer data));
|
||||
|
||||
void brush_reload (const gchar *fn, struct ppm *p);
|
||||
|
||||
|
@ -116,7 +116,7 @@ void create_paperpage(GtkNotebook *notebook)
|
||||
gtk_box_pack_start(GTK_BOX(thispage), box1, TRUE, TRUE, 0);
|
||||
gtk_widget_show (box1);
|
||||
|
||||
paperlist = view = createonecolumnlist (box1, selectpaper);
|
||||
paperlist = view = create_one_column_list (box1, selectpaper);
|
||||
paperstore = GTK_LIST_STORE(gtk_tree_view_get_model (GTK_TREE_VIEW (view)));
|
||||
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view));
|
||||
|
||||
|
@ -477,7 +477,7 @@ static void apply_preset(GtkWidget *w, GtkTreeSelection *selection)
|
||||
|
||||
select_preset(preset);
|
||||
|
||||
restorevals ();
|
||||
restore_values ();
|
||||
|
||||
/* g_free (preset); */
|
||||
g_free (selected_preset_filename);
|
||||
@ -622,7 +622,7 @@ static void save_preset(void)
|
||||
|
||||
preset_name = gtk_entry_get_text (GTK_ENTRY (presetnameentry));
|
||||
thispath = parsepath ();
|
||||
storevals ();
|
||||
store_values ();
|
||||
|
||||
if (!thispath)
|
||||
{
|
||||
|
@ -118,7 +118,7 @@ updatepreview (GtkWidget *wg, gpointer d)
|
||||
}
|
||||
if(d)
|
||||
{
|
||||
storevals();
|
||||
store_values ();
|
||||
|
||||
if(GPOINTER_TO_INT(d) != 2)
|
||||
repaint(&preview_ppm, &alpha_ppm);
|
||||
|
Reference in New Issue
Block a user