mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 07:04:29 +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)
|
if (gtk_entry_get_width_chars (entry) < 0)
|
||||||
{
|
{
|
||||||
gint width, w;
|
gint width, w;
|
||||||
gboolean interior_focus;
|
|
||||||
gint focus_width;
|
gint focus_width;
|
||||||
GtkBorder borders;
|
GtkBorder borders;
|
||||||
PangoLayout *layout;
|
PangoLayout *layout;
|
||||||
gchar *str;
|
gchar *str;
|
||||||
|
|
||||||
gtk_style_context_get_style (style_context,
|
gtk_style_context_get_style (style_context,
|
||||||
"interior-focus", &interior_focus,
|
|
||||||
"focus-line-width", &focus_width,
|
"focus-line-width", &focus_width,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user