Commit 6253b6a6 authored by Morten Welinder's avatar Morten Welinder

Dead kitten: more deprecation work.

parent c337b8ee
......@@ -45,8 +45,8 @@ dialog_get_password (GtkWindow *parent, const char *filename)
hb = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (d))), hb,
TRUE, TRUE, 8);
image = gtk_image_new_from_stock ("gnumeric-protection-yes-dialog",
GTK_ICON_SIZE_DIALOG);
image = gtk_image_new_from_icon_name ("gnumeric-protection-yes-dialog",
GTK_ICON_SIZE_DIALOG);
gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0);
gtk_box_pack_start (GTK_BOX (hb), image, FALSE, FALSE, 0);
vb = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
......
......@@ -462,8 +462,8 @@ gee_set_with_icon (GnmExprEntry *gee, gboolean with_icon)
if (with_icon) {
gee->icon = gtk_toggle_button_new ();
gtk_container_add (GTK_CONTAINER (gee->icon),
gtk_image_new_from_stock ("gnumeric-exprentry",
GTK_ICON_SIZE_MENU));
gtk_image_new_from_icon_name ("gnumeric-exprentry",
GTK_ICON_SIZE_MENU));
gtk_box_pack_end (GTK_BOX (gee), gee->icon, FALSE, FALSE, 0);
gtk_widget_show_all (gee->icon);
g_signal_connect (gee->icon, "clicked",
......
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