mirror of https://github.com/GNOME/gimp.git
session_info->widget is not a GimpDeviceStatus but its parent
2003-09-19 Michael Natterer <mitch@gimp.org> * app/gui/gui.c (gui_device_change_notify): session_info->widget is not a GimpDeviceStatus but its parent GimpDockable. Use the dockable's child instead. Fixes bug #122684.
This commit is contained in:
parent
da6c31af1f
commit
f8d46710e1
|
@ -1,3 +1,9 @@
|
|||
2003-09-19 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gui/gui.c (gui_device_change_notify): session_info->widget
|
||||
is not a GimpDeviceStatus but its parent GimpDockable. Use the
|
||||
dockable's child instead. Fixes bug #122684.
|
||||
|
||||
2003-09-19 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimpcolorpickertool.c: moved the call to
|
||||
|
|
|
@ -638,7 +638,13 @@ gui_device_change_notify (Gimp *gimp)
|
|||
"gimp-device-status");
|
||||
|
||||
if (session_info && session_info->widget)
|
||||
gimp_device_status_update (GIMP_DEVICE_STATUS (session_info->widget));
|
||||
{
|
||||
GtkWidget *device_status;
|
||||
|
||||
device_status = GTK_BIN (session_info->widget)->child;
|
||||
|
||||
gimp_device_status_update (GIMP_DEVICE_STATUS (device_status));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue