X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fmodal_dialog.hh;h=01dfc624795afe3d10c9e90fceca0f6663f62918;hp=65bc61f79e54b286c3a511899888adaaa3ef2469;hb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c;hpb=85783316365181491a3e3c0c63659972477cebba diff --git a/src/moof/modal_dialog.hh b/src/moof/modal_dialog.hh index 65bc61f..01dfc62 100644 --- a/src/moof/modal_dialog.hh +++ b/src/moof/modal_dialog.hh @@ -143,7 +143,7 @@ struct modal_dialog gtk_window_set_title(GTK_WINDOW(dialog), title.c_str()); std::string icon_path(PACKAGE".png"); - if (resource::find_path(icon_path)) + if (resource::find(icon_path)) { GdkPixbuf* iconPixbuf = gdk_pixbuf_new_from_file(icon_path.c_str(), NULL); @@ -183,7 +183,7 @@ struct modal_dialog dialog.setStandardButtons(QMessageBox::Close); std::string icon_path(PACKAGE".png"); - if (resource::find_path(icon_path)) + if (resource::find(icon_path)) { QIcon icon(icon_path.c_str()); dialog.setWindowIcon(icon);