Commit 4fe20eac authored by EST 1999 Mandrake's avatar EST 1999 Mandrake Committed by Geoff Harrison

s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/

Wed Jan 20 19:57:34 EST 1999 Mandrake <mandrake@mandrake.net>
        * app/gradients.c
          app/menus.c:
          s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/
          configure.in: upped gtk+ requirement to 1.1.13, since that's
          where it first occurs.
parent 0fdba925
Wed Jan 20 19:57:34 EST 1999 Mandrake <mandrake@mandrake.net>
* app/gradients.c
app/menus.c:
s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/
configure.in: upped gtk+ requirement to 1.1.13, since that's
where it first occurs.
Thu Jan 21 00:10:33 GMT 1999 Adam D. Moss <adam@gimp.org>
* app/gimpimage.c: Backed out last change for now, since I'm a
......
......@@ -3373,12 +3373,12 @@ cpopup_adjust_blending_menu(void)
/* Set state */
if (equal) {
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items[type]),
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items[type]),
TRUE);
gtk_widget_hide(g_editor->control_blending_items[num_items - 1]);
} else {
gtk_widget_show(g_editor->control_blending_items[num_items - 1]);
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items
[num_items - 1]),
TRUE);
} /* else */
......@@ -3415,13 +3415,13 @@ cpopup_adjust_coloring_menu(void)
/* Set state */
if (equal) {
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
[coloring]),
TRUE);
gtk_widget_hide(g_editor->control_coloring_items[num_items - 1]);
} else {
gtk_widget_show(g_editor->control_coloring_items[num_items - 1]);
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
[num_items - 1]),
TRUE);
} /* else */
......
......@@ -3373,12 +3373,12 @@ cpopup_adjust_blending_menu(void)
/* Set state */
if (equal) {
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items[type]),
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items[type]),
TRUE);
gtk_widget_hide(g_editor->control_blending_items[num_items - 1]);
} else {
gtk_widget_show(g_editor->control_blending_items[num_items - 1]);
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items
[num_items - 1]),
TRUE);
} /* else */
......@@ -3415,13 +3415,13 @@ cpopup_adjust_coloring_menu(void)
/* Set state */
if (equal) {
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
[coloring]),
TRUE);
gtk_widget_hide(g_editor->control_coloring_items[num_items - 1]);
} else {
gtk_widget_show(g_editor->control_coloring_items[num_items - 1]);
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
[num_items - 1]),
TRUE);
} /* else */
......
......@@ -3373,12 +3373,12 @@ cpopup_adjust_blending_menu(void)
/* Set state */
if (equal) {
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items[type]),
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items[type]),
TRUE);
gtk_widget_hide(g_editor->control_blending_items[num_items - 1]);
} else {
gtk_widget_show(g_editor->control_blending_items[num_items - 1]);
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items
[num_items - 1]),
TRUE);
} /* else */
......@@ -3415,13 +3415,13 @@ cpopup_adjust_coloring_menu(void)
/* Set state */
if (equal) {
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
[coloring]),
TRUE);
gtk_widget_hide(g_editor->control_coloring_items[num_items - 1]);
} else {
gtk_widget_show(g_editor->control_coloring_items[num_items - 1]);
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
[num_items - 1]),
TRUE);
} /* else */
......
......@@ -354,7 +354,7 @@ menus_set_state (char *path,
widget = gtk_item_factory_get_widget (ifactory, path);
if (widget && GTK_IS_CHECK_MENU_ITEM (widget))
gtk_check_menu_item_set_state (GTK_CHECK_MENU_ITEM (widget), state);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (widget), state);
else
widget = NULL;
}
......
......@@ -354,7 +354,7 @@ menus_set_state (char *path,
widget = gtk_item_factory_get_widget (ifactory, path);
if (widget && GTK_IS_CHECK_MENU_ITEM (widget))
gtk_check_menu_item_set_state (GTK_CHECK_MENU_ITEM (widget), state);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (widget), state);
else
widget = NULL;
}
......
......@@ -354,7 +354,7 @@ menus_set_state (char *path,
widget = gtk_item_factory_get_widget (ifactory, path);
if (widget && GTK_IS_CHECK_MENU_ITEM (widget))
gtk_check_menu_item_set_state (GTK_CHECK_MENU_ITEM (widget), state);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (widget), state);
else
widget = NULL;
}
......
......@@ -3373,12 +3373,12 @@ cpopup_adjust_blending_menu(void)
/* Set state */
if (equal) {
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items[type]),
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items[type]),
TRUE);
gtk_widget_hide(g_editor->control_blending_items[num_items - 1]);
} else {
gtk_widget_show(g_editor->control_blending_items[num_items - 1]);
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_blending_items
[num_items - 1]),
TRUE);
} /* else */
......@@ -3415,13 +3415,13 @@ cpopup_adjust_coloring_menu(void)
/* Set state */
if (equal) {
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
[coloring]),
TRUE);
gtk_widget_hide(g_editor->control_coloring_items[num_items - 1]);
} else {
gtk_widget_show(g_editor->control_coloring_items[num_items - 1]);
gtk_check_menu_item_set_state(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(g_editor->control_coloring_items
[num_items - 1]),
TRUE);
} /* else */
......
......@@ -354,7 +354,7 @@ menus_set_state (char *path,
widget = gtk_item_factory_get_widget (ifactory, path);
if (widget && GTK_IS_CHECK_MENU_ITEM (widget))
gtk_check_menu_item_set_state (GTK_CHECK_MENU_ITEM (widget), state);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (widget), state);
else
widget = NULL;
}
......
......@@ -100,7 +100,7 @@ ALL_LINGUAS="fr sv ja it fi ko de hu nl pl"
AM_GNU_GETTEXT
dnl Check for GTK+
AM_PATH_GTK(1.1.9,,
AM_PATH_GTK(1.1.13,,
AC_MSG_ERROR(Test for GTK failed. See the file 'INSTALL' for help.))
changequote(,)dnl
......
This diff is collapsed.
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