background: Remove unnecessary initialization
The entire private struct is initialized to 0 by GObject, so there is no need to do that again. https://bugzilla.gnome.org/show_bug.cgi?id=731713
This commit is contained in:
parent
a3247e73a4
commit
9c25c5ce65
1 changed files with 0 additions and 3 deletions
|
@ -279,9 +279,6 @@ cc_background_chooser_dialog_init (CcBackgroundChooserDialog *chooser)
|
||||||
priv->pictures_source = bg_pictures_source_new (GTK_WINDOW (chooser));
|
priv->pictures_source = bg_pictures_source_new (GTK_WINDOW (chooser));
|
||||||
priv->colors_source = bg_colors_source_new (GTK_WINDOW (chooser));
|
priv->colors_source = bg_colors_source_new (GTK_WINDOW (chooser));
|
||||||
|
|
||||||
priv->row_inserted_id = 0;
|
|
||||||
priv->row_deleted_id = 0;
|
|
||||||
|
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (chooser), 6);
|
gtk_container_set_border_width (GTK_CONTAINER (chooser), 6);
|
||||||
gtk_window_set_modal (GTK_WINDOW (chooser), TRUE);
|
gtk_window_set_modal (GTK_WINDOW (chooser), TRUE);
|
||||||
gtk_window_set_resizable (GTK_WINDOW (chooser), FALSE);
|
gtk_window_set_resizable (GTK_WINDOW (chooser), FALSE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue