Commit 46715fc1 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

plug-ins/common/tga.c compile with GTK_DISABLE_DEPRECATED.

2002-01-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/tga.c
	* plug-ins/common/video.c: compile with GTK_DISABLE_DEPRECATED.
parent fb3c7e00
......@@ -1207,18 +1207,19 @@ save_dialog (void)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), tsvals.rle);
gtk_widget_show (toggle);
g_signal_connect (G_OBJECT (toggle), "toggled",
G_CALLBACK (gimp_toggle_button_update),
&tsvals.rle);
/* origin */
origin = gtk_check_button_new_with_label (_("Origin at bottom left"));
gtk_box_pack_start (GTK_BOX (vbox), origin, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (origin), "toggled",
GTK_SIGNAL_FUNC (gimp_toggle_button_update),
&tsvals.origin);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (origin), tsvals.origin);
gtk_widget_show (origin);
g_signal_connect (G_OBJECT (toggle), "toggled",
g_signal_connect (G_OBJECT (origin), "toggled",
G_CALLBACK (gimp_toggle_button_update),
&tsvals.rle);
&tsvals.origin);
gtk_widget_show (vbox);
gtk_widget_show (frame);
......
......@@ -2127,8 +2127,7 @@ video_render_preview (gint raw)
}
/* redraw preview widget */
gtk_widget_draw (preview, NULL);
gdk_flush ();
gtk_widget_queue_draw (preview);
}
static gint
......
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