mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
spinbutton: remove unused code
This commit is contained in:
parent
0c6cc487d6
commit
5a16ec366d
@ -1165,14 +1165,12 @@ gtk_spin_button_get_preferred_width (GtkWidget *widget,
|
||||
if (gtk_entry_get_width_chars (entry) < 0)
|
||||
{
|
||||
gint width, w;
|
||||
gboolean interior_focus;
|
||||
gint focus_width;
|
||||
GtkBorder borders;
|
||||
PangoLayout *layout;
|
||||
gchar *str;
|
||||
|
||||
gtk_style_context_get_style (style_context,
|
||||
"interior-focus", &interior_focus,
|
||||
"focus-line-width", &focus_width,
|
||||
NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user