Commit 138a3a4b authored by Michael Natterer's avatar Michael Natterer 😴

plug-ins: more s/GtkObject/GtkAdjustment/

parent eb8487b4
......@@ -1873,8 +1873,7 @@ gimp_resolution_entry_update_unit (GimpResolutionEntry *gre,
gre->x.max_value *= factor;
gre->x.value *= factor;
gtk_adjustment_set_value (GTK_ADJUSTMENT (gre->x.adjustment),
gre->x.value);
gtk_adjustment_set_value (gre->x.adjustment, gre->x.value);
gimp_resolution_entry_format_label (gre,
gre->width.label, gre->width.phy_size);
......
......@@ -631,16 +631,16 @@ edit_callback (GtkWidget *widget,
if (edit_dialog == NULL)
{
GtkWidget *main_vbox;
GtkWidget *frame;
GtkWidget *table;
GtkWidget *vbox;
GtkWidget *hbox;
GtkWidget *button;
GtkWidget *combo;
GtkWidget *label;
GtkObject *adj;
gint i, j;
GtkWidget *main_vbox;
GtkWidget *frame;
GtkWidget *table;
GtkWidget *vbox;
GtkWidget *hbox;
GtkWidget *button;
GtkWidget *combo;
GtkWidget *label;
GtkAdjustment *adj;
gint i, j;
edit_dialog = gimp_dialog_new (_("Edit Flame"), PLUG_IN_ROLE,
parent, GTK_DIALOG_DESTROY_WITH_PARENT,
......@@ -951,16 +951,16 @@ cmap_constrain (gint32 image_id,
static gboolean
flame_dialog (void)
{
GtkWidget *main_vbox;
GtkWidget *notebook;
GtkWidget *label;
GtkWidget *frame;
GtkWidget *abox;
GtkWidget *button;
GtkWidget *table;
GtkWidget *box;
GtkObject *adj;
gboolean run;
GtkWidget *main_vbox;
GtkWidget *notebook;
GtkWidget *label;
GtkWidget *frame;
GtkWidget *abox;
GtkWidget *button;
GtkWidget *table;
GtkWidget *box;
GtkAdjustment *adj;
gboolean run;
gimp_ui_init (PLUG_IN_BINARY, TRUE);
......
......@@ -1444,17 +1444,17 @@ dialog_change_scale (void)
{
ready_now = FALSE;
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->xmin), wvals.xmin);
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->xmax), wvals.xmax);
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->ymin), wvals.ymin);
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->ymax), wvals.ymax);
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->iter), wvals.iter);
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->cx), wvals.cx);
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->cy), wvals.cy);
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->red), wvals.redstretch);
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->green),wvals.greenstretch);
gtk_adjustment_set_value (GTK_ADJUSTMENT (elements->blue), wvals.bluestretch);
gtk_adjustment_set_value (elements->xmin, wvals.xmin);
gtk_adjustment_set_value (elements->xmax, wvals.xmax);
gtk_adjustment_set_value (elements->ymin, wvals.ymin);
gtk_adjustment_set_value (elements->ymax, wvals.ymax);
gtk_adjustment_set_value (elements->iter, wvals.iter);
gtk_adjustment_set_value (elements->cx, wvals.cx);
gtk_adjustment_set_value (elements->cy, wvals.cy);
gtk_adjustment_set_value (elements->red, wvals.redstretch);
gtk_adjustment_set_value (elements->green,wvals.greenstretch);
gtk_adjustment_set_value (elements->blue, wvals.bluestretch);
gtk_toggle_button_set_active
(GTK_TOGGLE_BUTTON (elements->type[wvals.fractaltype]), TRUE);
......
......@@ -100,32 +100,32 @@ typedef struct _DialogElements DialogElements;
struct _DialogElements
{
GtkWidget *type[NUM_TYPES];
GtkObject *xmin;
GtkObject *xmax;
GtkObject *ymin;
GtkObject *ymax;
GtkObject *iter;
GtkObject *cx;
GtkObject *cy;
GtkWidget *type[NUM_TYPES];
GtkAdjustment *xmin;
GtkAdjustment *xmax;
GtkAdjustment *ymin;
GtkAdjustment *ymax;
GtkAdjustment *iter;
GtkAdjustment *cx;
GtkAdjustment *cy;
GtkObject *ncol;
GtkWidget *useloglog;
GtkAdjustment *ncol;
GtkWidget *useloglog;
GtkObject *red;
GtkObject *green;
GtkObject *blue;
GtkAdjustment *red;
GtkAdjustment *green;
GtkAdjustment *blue;
GtkWidget *redmode[3];
GtkWidget *redinvert;
GtkWidget *redmode[3];
GtkWidget *redinvert;
GtkWidget *greenmode[3];
GtkWidget *greeninvert;
GtkWidget *greenmode[3];
GtkWidget *greeninvert;
GtkWidget *bluemode[3];
GtkWidget *blueinvert;
GtkWidget *bluemode[3];
GtkWidget *blueinvert;
GtkWidget *colormode[2];
GtkWidget *colormode[2];
};
......
......@@ -2695,16 +2695,16 @@ static void
dlg_make_page_settings (GFlareDialog *dlg,
GtkWidget *notebook)
{
GtkWidget *main_vbox;
GtkWidget *frame;
GtkWidget *center;
GtkWidget *chain;
GtkWidget *table;
GtkWidget *button;
GtkWidget *asup_table;
GtkObject *adj;
gdouble xres, yres;
gint row;
GtkWidget *main_vbox;
GtkWidget *frame;
GtkWidget *center;
GtkWidget *chain;
GtkWidget *table;
GtkWidget *button;
GtkWidget *asup_table;
GtkAdjustment *adj;
gdouble xres, yres;
gint row;
main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
......@@ -3432,12 +3432,12 @@ static void
ed_make_page_general (GFlareEditor *ed,
GtkWidget *notebook)
{
GFlare *gflare = ed->gflare;
GtkWidget *vbox;
GtkWidget *frame;
GtkWidget *table;
GtkWidget *combo;
GtkObject *adj;
GFlare *gflare = ed->gflare;
GtkWidget *vbox;
GtkWidget *frame;
GtkWidget *table;
GtkWidget *combo;
GtkAdjustment *adj;
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
......@@ -3538,13 +3538,13 @@ static void
ed_make_page_glow (GFlareEditor *ed,
GtkWidget *notebook)
{
GFlare *gflare = ed->gflare;
GradientMenu *gm;
GtkWidget *vbox;
GtkWidget *frame;
GtkWidget *table;
GtkObject *adj;
gint row;
GFlare *gflare = ed->gflare;
GradientMenu *gm;
GtkWidget *vbox;
GtkWidget *frame;
GtkWidget *table;
GtkAdjustment *adj;
gint row;
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
......@@ -3641,13 +3641,13 @@ static void
ed_make_page_rays (GFlareEditor *ed,
GtkWidget *notebook)
{
GFlare *gflare = ed->gflare;
GradientMenu *gm;
GtkWidget *vbox;
GtkWidget *frame;
GtkWidget *table;
GtkObject *adj;
gint row;
GFlare *gflare = ed->gflare;
GradientMenu *gm;
GtkWidget *vbox;
GtkWidget *frame;
GtkWidget *table;
GtkAdjustment *adj;
gint row;
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
......@@ -3771,22 +3771,22 @@ static void
ed_make_page_sflare (GFlareEditor *ed,
GtkWidget *notebook)
{
GFlare *gflare = ed->gflare;
GradientMenu *gm;
GtkWidget *vbox;
GtkWidget *table;
GtkWidget *frame;
GtkWidget *shape_vbox;
GSList *shape_group = NULL;
GtkWidget *polygon_hbox;
GtkWidget *seed_hbox;
GtkWidget *toggle;
GtkWidget *label;
GtkWidget *seed;
GtkWidget *entry;
GtkObject *adj;
gchar buf[256];
gint row;
GFlare *gflare = ed->gflare;
GradientMenu *gm;
GtkWidget *vbox;
GtkWidget *table;
GtkWidget *frame;
GtkWidget *shape_vbox;
GSList *shape_group = NULL;
GtkWidget *polygon_hbox;
GtkWidget *seed_hbox;
GtkWidget *toggle;
GtkWidget *label;
GtkWidget *seed;
GtkWidget *entry;
GtkAdjustment *adj;
gchar buf[256];
gint row;
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment