Re: E_STRICT and PHP-Gtk2
| From: | Christian Weiske | Date: | Mon, 15 May 2006 05:48:34 +0000 |
| Subject: | Re: E_STRICT and PHP-Gtk2 | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2851@lists.php.net to get a copy of this message | ||
>>GtkMenu::set_accel_path(accel_path);
>>GtkWidget::set_accel_path(accel_path, GtkAccelGroup accel_group);
Here we should make the accel_group optional and call the gtkwidget one
if it's given.
>>GtkWindow::mnemonic_activate(keyval, GdkModifierType modifier);
>>GtkWidget::mnemonic_activate(group_cycling);
Here, making it optional doesn't work because the first parameter is
totally different in meaning.
>>GtkMenuItem::set_accel_path(accel_path);
>>GtkWidget::set_accel_path(accel_path, GtkAccelGroup accel_group);
Make the second optional.
>>GtkStatusbar::remove(context_id, message_id);
>>GtkContainer::remove(GtkWidget widget);
> What to do here? Make message_id optional and the type of context_id
> switches between the container and the statusbar method?
That would confuse people, because context_id and widget are totally
different vars in meaning. So renaming the GtkStatusbar one is the only
solution I see.
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc