mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
CtrlLib: Fixed some gtg WARNINGs
git-svn-id: svn://ultimatepp.org/upp/trunk@13009 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8b7a1ffb0c
commit
64633ff7be
3 changed files with 3 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ void CatchError(const gchar *log_domain,
|
|||
const gchar *message,
|
||||
gpointer user_data)
|
||||
{
|
||||
RLOG((const char *)message);
|
||||
__BREAK__;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -86,9 +86,9 @@ Image GetGTK0(GtkWidget *widget, int state, int shadow, const char *detail, int
|
|||
gtk_widget_set_state(widget, GTK_STATE_NORMAL);
|
||||
if(type == GTK_THEMEICON)
|
||||
icon = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), detail,
|
||||
(GtkIconSize)state, (GtkIconLookupFlags)0, NULL);
|
||||
GTK_ICON_SIZE_BUTTON, (GtkIconLookupFlags)0, NULL);
|
||||
else
|
||||
icon = gtk_widget_render_icon(widget, detail, (GtkIconSize)state, NULL);
|
||||
icon = gtk_widget_render_icon(widget, detail, GTK_ICON_SIZE_BUTTON, NULL);
|
||||
if(!icon) return Null;
|
||||
cx = gdk_pixbuf_get_width(icon);
|
||||
cy = gdk_pixbuf_get_height(icon);
|
||||
|
|
|
|||
|
|
@ -151,7 +151,6 @@ void AppMain___()
|
|||
String home = Environment().Get("UPP_HOME", Null);
|
||||
if(!IsNull(home))
|
||||
SetHomeDirectory(home);
|
||||
RDUMP(hasvars);
|
||||
if(!hasvars) {
|
||||
if(!Install(hasvars))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue