gtk2: fixed my typo Sensetivity -> Sensitivity

git-svn-id: trunk@18340 -
This commit is contained in:
paul 2009-01-19 11:59:58 +00:00
parent 9777610c5a
commit 2d57bcc934

View File

@ -101,7 +101,7 @@ type
class procedure ReCreateCombo(const ACustomComboBox: TCustomComboBox; const AWithEntry: Boolean; const AWidgetInfo: PWidgetInfo); virtual; class procedure ReCreateCombo(const ACustomComboBox: TCustomComboBox; const AWithEntry: Boolean; const AWidgetInfo: PWidgetInfo); virtual;
class procedure SetRenderer(const ACustomComboBox: TCustomComboBox; AWidget: PGtkWidget; AWidgetInfo: PWidgetInfo); virtual; class procedure SetRenderer(const ACustomComboBox: TCustomComboBox; AWidget: PGtkWidget; AWidgetInfo: PWidgetInfo); virtual;
class procedure SetCallbacks(const AWinControl: tWinControl; const AWidget: PGtkWidget; const AWidgetInfo: PWidgetInfo); virtual; class procedure SetCallbacks(const AWinControl: tWinControl; const AWidget: PGtkWidget; const AWidgetInfo: PWidgetInfo); virtual;
class procedure SetSensetivity(AWinControl: TWinControl; AWidget: PGtkWidget); class procedure SetSensitivity(AWinControl: TWinControl; AWidget: PGtkWidget);
published published
class procedure GetPreferredSize(const AWinControl: TWinControl; class procedure GetPreferredSize(const AWinControl: TWinControl;
var PreferredWidth, PreferredHeight: integer; WithThemeSpace: Boolean); override; var PreferredWidth, PreferredHeight: integer; WithThemeSpace: Boolean); override;
@ -1003,7 +1003,7 @@ begin
True : ComboWidget := gtk_combo_box_entry_new_with_model(Model, 0); True : ComboWidget := gtk_combo_box_entry_new_with_model(Model, 0);
False: ComboWidget := gtk_combo_box_new_with_model(Model); False: ComboWidget := gtk_combo_box_new_with_model(Model);
end; end;
SetSensetivity(ACustomCombobox, ComboWidget); SetSensitivity(ACustomCombobox, ComboWidget);
// undone the above increase of the ref count // undone the above increase of the ref count
gtk_object_set_data(PGtkObject(ComboWidget),GtkListItemLCLListTag,ItemList); gtk_object_set_data(PGtkObject(ComboWidget),GtkListItemLCLListTag,ItemList);
g_object_unref (G_OBJECT(Model)); g_object_unref (G_OBJECT(Model));
@ -1209,7 +1209,7 @@ begin
g_object_set_data(G_OBJECT(AWidget), 'Menu', APrivate^.popup_widget); g_object_set_data(G_OBJECT(AWidget), 'Menu', APrivate^.popup_widget);
end; end;
class procedure TGtk2WSCustomComboBox.SetSensetivity(AWinControl: TWinControl; AWidget: PGtkWidget); class procedure TGtk2WSCustomComboBox.SetSensitivity(AWinControl: TWinControl; AWidget: PGtkWidget);
var var
Value: TGValue; Value: TGValue;
begin begin
@ -1550,7 +1550,7 @@ begin
ComboWidget := gtk_combo_box_new_with_model(GTK_TREE_MODEL (ListStore)); ComboWidget := gtk_combo_box_new_with_model(GTK_TREE_MODEL (ListStore));
end; end;
SetSensetivity(AWinControl, ComboWidget); SetSensitivity(AWinControl, ComboWidget);
g_object_unref (G_OBJECT (liststore)); g_object_unref (G_OBJECT (liststore));