[frogr] Do not force a specific width for picture in details dialog
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Do not force a specific width for picture in details dialog
- Date: Thu, 28 Nov 2013 21:14:44 +0000 (UTC)
commit e0e156c0939bdf11497d9dc2905af1e091630f6e
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Thu Nov 28 22:14:29 2013 +0100
Do not force a specific width for picture in details dialog
src/frogr-details-dialog.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/frogr-details-dialog.c b/src/frogr-details-dialog.c
index b9fc802..9850db1 100644
--- a/src/frogr-details-dialog.c
+++ b/src/frogr-details-dialog.c
@@ -184,10 +184,7 @@ _create_widgets (FrogrDetailsDialog *self)
align = gtk_alignment_new (0.6, 0, 0, 0);
gtk_grid_attach (GTK_GRID (grid), align, 1, 0, 1, 1);
priv->picture_container = align;
-
- widget = gtk_image_new ();
- gtk_widget_set_size_request (widget, PICTURE_WIDTH, -1);
- priv->picture_img = widget;
+ priv->picture_img = gtk_image_new ();;
widget = gtk_label_new (NULL);
gtk_grid_attach (GTK_GRID (grid), widget, 1, 1, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]