Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 931921 Details for
Bug 1126916
GtkComboBoxText issues after rebase of gtk2
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
GtkComboBoxText: Set entry-text-column property in the constructor
gtk2-entry-text-column.patch (text/plain), 1.62 KB, created by
Marek Kašík
on 2014-08-28 12:21:05 UTC
(
hide
)
Description:
GtkComboBoxText: Set entry-text-column property in the constructor
Filename:
MIME Type:
Creator:
Marek Kašík
Created:
2014-08-28 12:21:05 UTC
Size:
1.62 KB
patch
obsolete
>diff --git a/gtk/gtkcomboboxtext.c b/gtk/gtkcomboboxtext.c >index 9ffba68..bc7f73c 100644 >--- a/gtk/gtkcomboboxtext.c >+++ b/gtk/gtkcomboboxtext.c >@@ -99,11 +99,14 @@ gtk_combo_box_text_constructor (GType type, > guint n_construct_properties, > GObjectConstructParam *construct_properties) > { >- GObject *object; >+ GObject *object; >+ const gint text_column = 0; > > object = G_OBJECT_CLASS (gtk_combo_box_text_parent_class)->constructor > (type, n_construct_properties, construct_properties); > >+ gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX (object), text_column); >+ > if (!gtk_combo_box_get_has_entry (GTK_COMBO_BOX (object))) > { > GtkCellRenderer *cell; >@@ -111,7 +114,7 @@ gtk_combo_box_text_constructor (GType type, > cell = gtk_cell_renderer_text_new (); > gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (object), cell, TRUE); > gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (object), cell, >- "text", 0, >+ "text", text_column, > NULL); > } > >@@ -320,7 +323,6 @@ GtkWidget * > gtk_combo_box_text_new (void) > { > return g_object_new (GTK_TYPE_COMBO_BOX_TEXT, >- "entry-text-column", 0, > NULL); > } > >@@ -339,7 +341,6 @@ gtk_combo_box_text_new_with_entry (void) > { > return g_object_new (GTK_TYPE_COMBO_BOX_TEXT, > "has-entry", TRUE, >- "entry-text-column", 0, > NULL); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1126916
:
924240
|
924242
|
924946
|
931050
| 931921