Mercurial > geeqie
comparison src/img-view.c @ 1367:fe4da037be21
When g_new0() is used, drop redundant initializations to NULL, FALSE or 0, second pass.
| author | zas_ |
|---|---|
| date | Sun, 01 Mar 2009 23:14:19 +0000 |
| parents | 79937bc55f3a |
| children | a0bd58a6535f |
comparison
equal
deleted
inserted
replaced
| 1366:ff3cd67235af | 1367:fe4da037be21 |
|---|---|
| 831 gint w, h; | 831 gint w, h; |
| 832 | 832 |
| 833 if (!fd && !list && (!cd || !info)) return NULL; | 833 if (!fd && !list && (!cd || !info)) return NULL; |
| 834 | 834 |
| 835 vw = g_new0(ViewWindow, 1); | 835 vw = g_new0(ViewWindow, 1); |
| 836 vw->fs = NULL; | |
| 837 vw->ss = NULL; | |
| 838 vw->list = NULL; | |
| 839 vw->list_pointer = NULL; | |
| 840 | 836 |
| 841 vw->window = window_new(GTK_WINDOW_TOPLEVEL, "view", PIXBUF_INLINE_ICON_VIEW, NULL, NULL); | 837 vw->window = window_new(GTK_WINDOW_TOPLEVEL, "view", PIXBUF_INLINE_ICON_VIEW, NULL, NULL); |
| 842 | 838 |
| 843 geometry.min_width = DEFAULT_MINIMAL_WINDOW_SIZE; | 839 geometry.min_width = DEFAULT_MINIMAL_WINDOW_SIZE; |
| 844 geometry.min_height = DEFAULT_MINIMAL_WINDOW_SIZE; | 840 geometry.min_height = DEFAULT_MINIMAL_WINDOW_SIZE; |
