mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 15:14:17 +00:00
inspector: Drop a size group
All this size group did was causing values to be needlessly ellipsized. Drop it.
This commit is contained in:
parent
282d66a604
commit
e56f9dbeb8
@ -130,7 +130,6 @@ struct _GtkInspectorGeneral
|
||||
GtkWidget *display_name;
|
||||
GtkWidget *display_rgba;
|
||||
GtkWidget *display_composited;
|
||||
GtkSizeGroup *labels;
|
||||
|
||||
GdkDisplay *display;
|
||||
};
|
||||
@ -246,8 +245,6 @@ add_check_row (GtkInspectorGeneral *gen,
|
||||
|
||||
gtk_widget_set_hexpand (box, FALSE);
|
||||
gtk_list_box_insert (list, row, -1);
|
||||
|
||||
gtk_size_group_add_widget (gen->labels, label);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -286,8 +283,6 @@ add_label_row (GtkInspectorGeneral *gen,
|
||||
|
||||
gtk_widget_set_hexpand (box, FALSE);
|
||||
gtk_list_box_insert (GTK_LIST_BOX (list), row, -1);
|
||||
|
||||
gtk_size_group_add_widget (gen->labels, label);
|
||||
}
|
||||
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
@ -1263,7 +1258,6 @@ gtk_inspector_general_class_init (GtkInspectorGeneralClass *klass)
|
||||
gtk_widget_class_bind_template_child (widget_class, GtkInspectorGeneral, gtk_exe_prefix);
|
||||
gtk_widget_class_bind_template_child (widget_class, GtkInspectorGeneral, gtk_data_prefix);
|
||||
gtk_widget_class_bind_template_child (widget_class, GtkInspectorGeneral, gsettings_schema_dir);
|
||||
gtk_widget_class_bind_template_child (widget_class, GtkInspectorGeneral, labels);
|
||||
gtk_widget_class_bind_template_child (widget_class, GtkInspectorGeneral, display_name);
|
||||
gtk_widget_class_bind_template_child (widget_class, GtkInspectorGeneral, display_composited);
|
||||
gtk_widget_class_bind_template_child (widget_class, GtkInspectorGeneral, display_rgba);
|
||||
|
@ -951,30 +951,6 @@
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
<object class="GtkSizeGroup" id="labels">
|
||||
<widgets>
|
||||
<widget name="gtk_version_label"/>
|
||||
<widget name="gdk_backend_label"/>
|
||||
<widget name="gsk_renderer_label"/>
|
||||
<widget name="pango_fontmap_label"/>
|
||||
<widget name="media_backend_label"/>
|
||||
<widget name="app_id_label"/>
|
||||
<widget name="resource_path_label"/>
|
||||
<widget name="display_label"/>
|
||||
<widget name="display_rgba_label"/>
|
||||
<widget name="display_composited_label"/>
|
||||
<widget name="gl_backend_version_label"/>
|
||||
<widget name="gl_backend_vendor_label"/>
|
||||
<widget name="gl_version_label"/>
|
||||
<widget name="gl_vendor_label"/>
|
||||
<widget name="gl_renderer_label"/>
|
||||
<widget name="gl_full_version_label"/>
|
||||
<widget name="glsl_version_label"/>
|
||||
<widget name="vk_device_label"/>
|
||||
<widget name="vk_api_version_label"/>
|
||||
<widget name="vk_driver_version_label"/>
|
||||
</widgets>
|
||||
</object>
|
||||
<object class="GtkSizeGroup">
|
||||
<widgets>
|
||||
<widget name="version_box"/>
|
||||
|
Loading…
Reference in New Issue
Block a user