remove gdk_pixbuf_unref calls which are deprecated and use g_object_unref

2005-07-11  Diego Gonzalez  <diego@pemas.net>

    * e-image-chooser.c: remove gdk_pixbuf_unref calls which are
      deprecated and use g_object_unref instead

2005-07-11  Diego Gonzalez  <diego@pemas.net>

    * gnome-about-me-password.c: fix some string errors

      Fixes bug 309951 and bug 309950

2005-07-10  Dennis Cranston <dennis_cranston at yahoo com>

    * gnome-about-me.glade:  HIG fixes; fix widget padding,
      use sentence capitalization for text field labels, fix
      mnemonic conflics, and remove mnemonics from tab labels.

      Also fixes bug 309952
This commit is contained in:
Diego Gonzalez 2005-07-12 18:06:41 +00:00 committed by Diego González
parent 9d434685b9
commit a6bfb5ca46
4 changed files with 25 additions and 9 deletions

View file

@ -1,3 +1,21 @@
2005-07-11 Diego Gonzalez <diego@pemas.net>
* e-image-chooser.c: remove gdk_pixbuf_unref calls which are
deprecated and use g_object_unref instead
2005-07-11 Diego Gonzalez <diego@pemas.net>
* gnome-about-me-password.c: fix some string errors
Fixes bug 309951 and bug 309950
2005-07-10 Dennis Cranston <dennis_cranston at yahoo com>
* gnome-about-me.glade: HIG fixes; fix widget padding,
use sentence capitalization for text field labels, fix
mnemonic conflics, and remove mnemonics from tab labels.
Also fixes bug 309952
2005-07-08 Sebastien Bacher <seb128@debian.org>
* gnome-about-me.desktop.in: this file is not useful on the CVS.

View file

@ -296,11 +296,11 @@ set_image_from_data (EImageChooser *chooser,
chooser->priv->image_height / 2 - new_height / 2);
gtk_image_set_from_pixbuf (GTK_IMAGE (chooser->priv->image), composite);
gdk_pixbuf_unref (scaled);
gdk_pixbuf_unref (composite);
g_object_unref (scaled);
g_object_unref (composite);
}
gdk_pixbuf_unref (pixbuf);
g_object_unref (pixbuf);
g_free (chooser->priv->image_buf);
chooser->priv->image_buf = data;

View file

@ -97,7 +97,8 @@ wait_child (PasswordDialog *pdialog)
return FALSE;
} else if ((WIFEXITED (status)) && (WEXITSTATUS (status)) && (WEXITSTATUS(status) < 255)) {
msg = g_strdup (_("<b>Old password is incorret, please retype it</b>"));
msg = g_strdup_printf ("<b>%s</b>", _("Old password is incorrect, please retype it"));
gtk_label_set_markup (GTK_LABEL (wmessage), msg);
g_free (msg);
@ -108,7 +109,7 @@ wait_child (PasswordDialog *pdialog)
return FALSE;
} else if ((WIFEXITED (status)) && (WEXITSTATUS (status)) && (WEXITSTATUS (status) == 255)) {
msg = g_strdup (_("Symtem error has occurred"));
msg = g_strdup (_("System error has occurred"));
details = g_strdup (_("Could not run /usr/bin/passwd"));
title = g_strdup (_("Unable to launch backend"));
} else {
@ -376,7 +377,7 @@ passdlg_button_clicked_cb (GtkDialog *widget, gint response_id, PasswordDialog *
g_source_remove (pdialog->timeout_id);
if (ret == -1) {
msg = g_strdup (_("<b>Old password is incorret, please retype it</b>"));
msg = g_strdup_printf ("<b>%s</b>", _("Old password is incorrect, please retype it"));
gtk_label_set_markup (GTK_LABEL (wmessage), msg);
g_free (msg);

View file

@ -664,9 +664,6 @@ about_me_setup_dialog (void)
me->theme = gtk_icon_theme_get_for_screen (me->screen);
icon = gtk_icon_theme_lookup_icon (me->theme, "stock_person", 80, 0);
if (icon == NULL) {
g_print ("Icon not found\n");
}
me->person = g_strdup (gtk_icon_info_get_filename (icon));