diff options
author | rbuj <[email protected]> | 2020-05-25 18:58:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-06-13 17:32:57 +0200 |
commit | 270534f373b8fd1abceae02049b7aa21a2dca334 (patch) | |
tree | d1e2c019f13689a1627159f9d58d0a3c75d806d7 /src/caja-file-management-properties.c | |
parent | 8098baafdcbfc9d22ff95c648734d2f06481bf2d (diff) | |
download | caja-270534f373b8fd1abceae02049b7aa21a2dca334.tar.bz2 caja-270534f373b8fd1abceae02049b7aa21a2dca334.tar.xz |
caja-file-management-properties: Remove caja_file_management_properties_size_group_create
Diffstat (limited to 'src/caja-file-management-properties.c')
-rw-r--r-- | src/caja-file-management-properties.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c index 2761a85b..eeeb6a27 100644 --- a/src/caja-file-management-properties.c +++ b/src/caja-file-management-properties.c @@ -198,29 +198,6 @@ enum static void caja_file_management_properties_dialog_update_media_sensitivity (GtkBuilder *builder); static void -caja_file_management_properties_size_group_create (GtkBuilder *builder, - char *prefix, - int items) -{ - GtkSizeGroup *size_group; - int i; - GtkWidget *widget = NULL; - - size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); - - for (i = 0; i < items; i++) - { - char *item_name; - - item_name = g_strdup_printf ("%s_%d", prefix, i); - widget = GTK_WIDGET (gtk_builder_get_object (builder, item_name)); - gtk_size_group_add_widget (size_group, widget); - g_free (item_name); - } - g_object_unref (G_OBJECT (size_group)); -} - -static void preferences_show_help (GtkWindow *parent, char const *helpfile, char const *sect_id) @@ -1132,15 +1109,6 @@ caja_file_management_properties_dialog_setup (GtkBuilder *builder, GtkWindow *wi GtkWidget *dialog; /* setup UI */ - caja_file_management_properties_size_group_create (builder, - "views_label", - 5); - caja_file_management_properties_size_group_create (builder, - "captions_label", - 3); - caja_file_management_properties_size_group_create (builder, - "preview_label", - 5); create_date_format_menu (builder); /* setup preferences */ |