Minor code cleanup.
* appearance-desktop.c: (desktop_init): Minor code cleanup. svn path=/trunk/; revision=7627
This commit is contained in:
parent
c2ac13ab3b
commit
c5b68b203c
3 changed files with 357 additions and 351 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-05-16 Denis Washington <denisw@svn.nome.org>
|
||||
|
||||
* appearance-desktop.c: (desktop_init): Minor code cleanup.
|
||||
|
||||
2007-05-16 Denis Washington <denisw@svn.nome.org>
|
||||
|
||||
* appearance-desktop.c: (desktop_init): re-enable drag-and-drop for the
|
||||
|
|
|
@ -907,7 +907,6 @@ void
|
|||
desktop_init (AppearanceData *data)
|
||||
{
|
||||
GtkWidget *add_button;
|
||||
GValue val = {0,};
|
||||
GtkFileFilter *filter;
|
||||
|
||||
data->wp_update_gconf = TRUE;
|
||||
|
@ -959,11 +958,10 @@ desktop_init (AppearanceData *data)
|
|||
|
||||
data->wp_cell = cell_renderer_wallpaper_new ();
|
||||
|
||||
g_value_init (&val, G_TYPE_UINT);
|
||||
g_value_set_uint (&val, 5);
|
||||
|
||||
g_object_set_property (G_OBJECT (data->wp_cell), "xpad", &val);
|
||||
g_object_set_property (G_OBJECT (data->wp_cell), "ypad", &val);
|
||||
g_object_set (G_OBJECT (data->wp_cell),
|
||||
"xpad", 5,
|
||||
"ypad", 5,
|
||||
NULL);
|
||||
|
||||
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (data->wp_view),
|
||||
data->wp_cell,
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue